MVP-1: helpdesk core with dashboard, Telegram channel, customer portal

Next.js 16 + Drizzle/SQLite (matching ~/project-claude conventions), SSE-based
realtime updates, admin dashboard with status columns, ticket thread view,
Telegram long-polling integration (inbound + outbound), token-based customer
portal, Docker Compose packaging.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QcXH24ky6zjk2UyK5oZUPH
This commit is contained in:
ogrechkoandClaude Sonnet 5 committed 2026-07-26 12:40:56 +00:00
1 parent 888b7b82ba
commit cf0b6cf58e
59 files changed
+12556

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Copy to .env and fill in — never commit the real .env.
# AES-256-GCM key that encrypts channel credentials (Telegram token, and
# later IMAP/SMTP) at rest in the database. Generate with:
# npm run generate-key
CREDENTIALS_ENCRYPTION_KEY=
# Initial admin account, created on first start if it doesn't exist yet.
ADMIN_BOOTSTRAP_EMAIL=admin@top-sysops.ru
ADMIN_BOOTSTRAP_PASSWORD=
ADMIN_BOOTSTRAP_NAME=Admin
# Optional: seeds the Telegram channel on first start (only if no bot has
# been configured yet via the admin UI — Settings → Telegram always wins
# afterwards). Get this from @BotFather.
TELEGRAM_BOT_TOKEN=