Deployment

Platform

The web app deploys to Vercel with automatic deployments on push to main.

Build configuration

SettingValue
Framework presetNext.js
Build commandpnpm --filter web build
Output directoryapps/web/.next
Node.js version24.x

Environment variables

Variables are managed in the Vercel dashboard per environment:

VariableProductionPreview
DATABASE_URLProduction DBPreview DB
API_URLhttps://api.acme.comBranch deploy URL
STRIPE_KEYLive keyTest key

Preview deployments

Every pull request gets a unique preview URL. Preview deployments use:

  • A separate preview database
  • Stripe test mode
  • Relaxed CSP headers for debugging