Deployment
API: deploy api/ as a standard Next.js app (Vercel or any Node host).
Point DATABASE_URL at your production Postgres, set every secret from
api/.env.example in your host's environment variable settings, and run the
generated Drizzle migrations before your first deploy.
App: build with EAS (eas build) and submit through EAS Submit, or your
own build pipeline. Set EXPO_PUBLIC_API_URL to your deployed API's URL
before building — it's baked into the client bundle at build time, not read
at runtime.
Rotate every secret for production; never reuse the values you generated for local development.