# Copy this file to .env and fill in real values. # NEVER commit .env to version control. # The real .env was accidentally committed during development — treat all secrets as compromised and rotate them before deploying. GOOGLE_API_KEY=your-google-gemini-api-key # ============================================================ # DATABASE — PostgreSQL connection string # Testing: NeonDB → postgresql://user:pass@ep-xxx.us-east-2.aws.neon.tech/neondb?sslmode=require # Production: Azure PG → postgresql://user:pass@server.postgres.database.azure.com/db?sslmode=require # Only this one line ever changes between environments. No code changes needed. # ============================================================ DATABASE_URL=postgresql://username:password@ep-xxx.us-east-2.aws.neon.tech/neondb?sslmode=require # ============================================================ # JWT Auth # Generate with: python -c "import secrets; print(secrets.token_hex(32))" # Must be at least 32 characters long. # ============================================================ JWT_SECRET_KEY=your-very-long-random-secret-key-minimum-32-chars-here JWT_ALGORITHM=HS256 JWT_ACCESS_TOKEN_EXPIRE_MINUTES=480 # ============================================================ # Seed Secret — used to protect the one-time POST /api/v1/auth/seed-users endpoint # Set to any long random string; keep private. # ============================================================ SEED_SECRET=your-one-time-seed-secret # ============================================================ # CORS — comma-separated list of allowed frontend origins # Example: CORS_ORIGINS=https://your-app.vercel.app,https://custom-domain.com # Leave empty to allow all origins (dev only) # ============================================================ CORS_ORIGINS= # ============================================================ # Environment — set to 'production' to disable /docs and /redoc # ============================================================ ENVIRONMENT=development