diff --git a/CLAUDE.md b/CLAUDE.md index 304deba..85eabe8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,8 +12,11 @@ Roadmap: grow into a communication platform (meetings + persistent chat) for registered BizGaze users. ## Tech stack (intentionally minimal — keep it this way) -- **Node.js >= 22.5**, single npm dependency: `ws` (WebSocket). -- **Built-in `node:sqlite`** (no native modules). DB file: `server/data.db`. +- **Node.js >= 22.5**. npm deps: `ws`, `pg`, `redis`, `web-push` (+ optional `nodemailer`). +- **PostgreSQL** via the async adapter (`server/dbx.js` → `server/db/pg.js`). SQLite was RETIRED 2026-08-12: + there is now ONE schema source of truth, **`server/db/schema.pg.sql`** — every schema change goes there + (and post-cutover COLUMNS need an explicit `ALTER TABLE … ADD COLUMN IF NOT EXISTS`, since the file is + applied idempotently on every boot and `CREATE TABLE IF NOT EXISTS` won't alter an existing table). - **WebRTC** peer-to-peer for media (screen video + voice + data channels). - **No build step, no framework.** Each page is a single self-contained HTML file with inline `