Spaces:
Sleeping
Sleeping
Download .env.example from benedictpepper/fitmate-api: direct link, hf CLI and curl.
- Browser
- Download file 861 Bytes
-
https://huggingface.co/spaces/benedictpepper/fitmate-api/resolve/main/.env.example
- Command line
-
hf download hf://spaces/benedictpepper/fitmate-api/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/benedictpepper/fitmate-api/resolve/main/.env.example
861 Bytes
| # MongoDB | |
| MONGODB_URL=mongodb://admin:fitmate_dev_password@localhost:27017/fitmate_db?authSource=admin | |
| MONGODB_DB_NAME=fitmate_db | |
| # OCR Model | |
| OPENROUTER_OCR_MODEL=google/gemini-3.1-flash-lite-preview | |
| # PostgreSQL | |
| DATABASE_URL=postgresql://fitmate:fitmate_dev_password@localhost:5432/fitmate_admin | |
| # Google Cloud Vision | |
| GOOGLE_CLOUD_VISION_API_KEY=your_key_here | |
| # Twilio WhatsApp Sandbox | |
| TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| TWILIO_AUTH_TOKEN=your_auth_token_here | |
| # Sandbox sender number (do not change for sandbox) | |
| TWILIO_WHATSAPP_FROM=+14155238886 | |
| # JWT Admin Authentication | |
| JWT_SECRET_KEY=your-256-bit-random-secret-here | |
| JWT_ALGORITHM=HS256 | |
| JWT_EXPIRE_HOURS=8 | |
| ADMIN_USERNAME=admin | |
| # Generate with: python -c "from passlib.context import CryptContext; print(CryptContext(schemes=['bcrypt']).hash('your_password'))" | |
| ADMIN_PASSWORD_HASH= | |