Environment Variables
Copy .env.example to .env.local and fill in the values.
Required Variables
Optional Variables
Example .env.local
Never commit .env.local to git. Itβs already in .gitignore. The SUPABASE_SERVICE_ROLE_KEY and STRIPE_SECRET_KEY are sensitive β never expose them in client-side code.
Vercel Deployment Variables
When deploying to Vercel, add these same variables in your Vercel project settings under Settings > Environment Variables. Use production Supabase and Stripe keys (not test keys) for the production environment.