Configuration Error

Missing required environment variables

Issue: The application cannot connect to the database because environment variables are not configured in Bolt.new hosting.

How to fix:

  1. In Bolt.new, look for environment variables settings:
    • Click the ⚙️ gear icon"Environment Variables"
    • Or press Ctrl+K/Cmd+K → type "environment"
    • Or go to "Project Settings""Environment"
  2. Add these two environment variables EXACTLY as shown:
    VITE_SUPABASE_URL=https://vehmzavjbpmwobgrweyi.supabase.co
    VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
    (Variable names must include the VITE_ prefix)
  3. Click "Save" or "Apply"
  4. Wait for Bolt.new to automatically redeploy (2-5 minutes)
  5. Refresh this page after deployment completes

For local development, create a .env file in your project root with these variables.

For detailed instructions, see BOLT_ENVIRONMENT_VARIABLES_SETUP.md