f9f8d22f8d
docs: update CLAUDE.md and README.md for v0.0.1
...
- CLAUDE.md: add dev:https command, UI Architecture section (design
system, room layout, screen share, sidebar), new Known Issues (HTTPS,
chat duplication, self-ban), https:// in trustedOrigins note
- README.md: add dev:https command, features list for v0.0.1, screen
share mention, HTTPS note for LAN, self-ban protection in API table
2026-03-24 12:39:52 +03:00
68b6eaeac5
docs: update CLAUDE.md, README.md, PROMPT.md, setup.sh per post-change checklist
...
- Prisma 7 notes: adapter-pg, no url in schema
- README: setup.sh commands, first admin auto-assign, pgbouncer in docker
- PROMPT.md: Prisma 7 adapter-pg description
- setup.sh dev: reordered (kill first, containers before prisma, healthchecks)
2026-03-24 06:54:39 +03:00
a6c744223b
fix: prisma url in schema + first user becomes ADMIN
...
- Add url = env("DATABASE_URL") back to schema (required by Prisma 7.5)
- Simplify prisma.config.ts
- First registered user auto-promoted to ADMIN via databaseHooks
- Subsequent users get HOST role
2026-03-24 03:54:55 +03:00
f6f93c2ae9
feat: auto LAN auth + setup.sh dev command
...
- auth.ts: auto-allow localhost:3000-3010 + LAN_HOST for trustedOrigins
- setup.sh: new `dev` command (update + kill old processes + auto LAN IP + launch)
- next.config.ts: allowedDevOrigins for LAN HMR
2026-03-24 03:24:14 +03:00
cb589b540a
chore: add Redis/PgBouncer readiness checks to setup.sh + post-change checklist rule to CLAUDE.md
...
setup.sh now waits for Redis PONG and PgBouncer pg_isready before running
Prisma migrations. CLAUDE.md gets mandatory post-change checklist ensuring
setup.sh, README.md, PROMPT.md, .env.example stay in sync after every change.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-22 14:21:40 +03:00
a42ec96965
perf: Redis pub/sub, PgBouncer, optimistic UI for high concurrency
...
- Add Redis 7 for pub/sub (lobby + chat real-time), rate limiting, caching
- Replace SSE DB polling with Redis pub/sub (lobby: instant approval, chat: instant delivery)
- Add PgBouncer (transaction mode, 500 client → 25 pool connections)
- Chat SSE stream via Redis pub/sub instead of 3s polling
- Optimistic UI in ChatPanel (messages appear before server confirms)
- Redis-based rate limiter (works across multiple app replicas)
- Prisma query optimization (select only needed fields)
- Chat message cache in Redis (10s TTL)
- Docker Compose: add redis, pgbouncer services with healthchecks
- Production: resource limits, 2 app replicas behind Traefik
- Update CLAUDE.md, README.md, .env.example, setup.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-22 14:17:25 +03:00
3846e3e00d
feat: LiveServer-M1 v1 — educational video conferencing platform
...
Full MVP implementation:
- Next.js 16 + React 19 + TypeScript + Tailwind CSS v4
- LiveKit integration (rooms, tokens, webhooks, moderation)
- better-auth (email/password, sessions, roles)
- Prisma 7 + PostgreSQL (9 models, 3 enums)
- 15 API routes (auth, rooms, lobby, chat, files, moderation, hand-raise)
- 7 pages (landing, auth, dashboard, join, video room)
- SSE-based waiting room with host approval flow
- Security: PIN rate limiting, session fingerprint bans, chat/files auth
- Python AI Agent (Deepgram STT + OpenAI summarization)
- Docker Compose (local + production with Traefik + Let's Encrypt)
- Interactive setup script (setup.sh)
- Dev protection middleware (DEV_ACCESS_KEY, ALLOWED_IPS)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-22 13:57:53 +03:00