Spaces:
Sleeping
Sleeping
Download .env.example from Coeinterns/bank-statement-api: direct link, hf CLI and curl.
- Browser
- Download file 2.08 kB
-
https://huggingface.co/spaces/Coeinterns/bank-statement-api/resolve/main/.env.example
- Command line
-
hf download hf://spaces/Coeinterns/bank-statement-api/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/Coeinterns/bank-statement-api/resolve/main/.env.example
2.08 kB
| # 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 | |