Vanguard

Environment Variables

The app reads configuration from environment variables. Create a .env file in the project root.

Required variables

NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key

Notes

  • Never commit the service role key — keep .env out of version control.
  • Public keys are prefixed with NEXT_PUBLIC_ and are safe to expose.