DeveloperDeployment

Deployment. Frontend, database, functions.

Three surfaces ship independently — the Vite frontend, Supabase migrations, and the edge functions.

Frontend

  • Hosted on Vercel or Netlify.
  • Build via npm run build.
  • Environment variables set in the hosting dashboard — only VITE_* keys belong here.

Supabase

  • Migrations via supabase db push.
  • Edge functions via supabase functions deploy <name>.
  • Secrets via supabase secrets set ... — Stripe keys, the BYOK master encryption key, cron secrets.

Changelog automation (optional)

  • changelog-create edge function.
  • GitHub Actions + a Supabase Service Role key.

Full deployment steps live in DEPLOYMENT.md and docs/STRIPE_SETUP.md.