Band Chat currently runs as a hybrid SvelteKit app.
- Active app tree:
src/ - Duplicate legacy tree:
svelte-src/ - Main persistence layer for the active app: Neon/Postgres
- Convex: used for some bridged auth and migration-era backend flows
- Pusher: optional or legacy integration, not the default architecture for the active
srcapp
The short version is:
- build the app from
src/ - treat Neon/Postgres as the main backend for the active app surface
- treat Convex as an additional backend, not the whole system
- do not read
svelte-src/docs as the current source of truth
- Install dependencies:
npm install- Set the env vars needed for the features you use:
DATABASE_URLAUTH_COOKIE_SECURE=truein productionCONVEX_URLandPUBLIC_CONVEX_URLif you are using Convex-backed flowsAUTH_BRIDGE_SECRETfor the SvelteKit-to-Convex auth bridgeVAPID_PUBLIC_KEYandVAPID_PRIVATE_KEYif you are using web push
- Start the app:
npm run dev