telgo-app

Progress: Telgo app rebuild

Read RULES.md first.

Where things are (28 Sep 2026, night)

Built (all on the local test database)

How to test (local only)

  1. Docker Desktop on; the local database: supabase start in the scratch localdb folder (see the session notes), then npm run db:local (applies the migrations).
  2. npm run dev (uses .env.local, which points only at the local database).
  3. npm run test:static, npm run test:api, npm run test:ui (the last two reset the local database).

Still to do (the owner)

  1. Done 28 Sep: the live database update (0001-0005).
  2. In Vercel settings add (values in .env.vercel on this PC, never uploaded): NEXT_PUBLIC_VAPID_PUBLIC_KEY, VAPID_PRIVATE_KEY, VAPID_SUBJECT (push), CRON_SECRET (the 90-day clean-up), and keep SUPABASE_SECRET_KEY / SUPABASE_SERVICE_ROLE_KEY. Optional: SMTP_USER, SMTP_PASS, SMTP_FROM to email login details.
  3. Done 28 Sep: rebuild pushed to main (4b24f2a).
  4. Rotate the keys that were pasted in chat on 28 Sep 2026 (Supabase secret and service_role keys, the Supabase access token) and the old admin password that was written in the public code.
  5. Restrict the old Google Maps key (it is in the public repo’s history) to your domains, or delete it: the new app doesn’t use it.
  6. Check the 5 projects’ budgets: they may be sample values from the old app.

Next