feat: initial JaniChat messenger — PWA, WebSocket, admin panel

This commit is contained in:
Ai
2026-05-22 11:06:43 +03:00
commit 1cabe9d04f
46 changed files with 3570 additions and 0 deletions

7
.env.example Normal file
View File

@@ -0,0 +1,7 @@
DATABASE_URL=postgresql://hotelsync:PASSWORD@hotelsync-postgres:5432/janichat
JWT_SECRET=your-jwt-secret-here
VAPID_PUBLIC_KEY=your-vapid-public-key
VAPID_PRIVATE_KEY=your-vapid-private-key
VAPID_EMAIL=admin@janichat.ru
ALLOWED_ORIGINS=https://janichat.ru,https://www.janichat.ru
PORT=3000