Files
HabitForge-zepp/.env.example
T

33 lines
907 B
Bash

# HabitForge Environment Configuration
# Copy this file to .env.development, .env.staging, or .env.production
# and fill in the actual values.
# Security
SECRET_KEY=your-secret-key-here-generate-with-python-secrets-token_urlsafe32
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# Database
# For development (SQLite):
DATABASE_URL=sqlite:///./data/habitforge.db
# For production (PostgreSQL):
# DATABASE_URL=postgresql://user:password@localhost:5432/habitforge
# CORS (Comma-separated list of allowed origins)
CORS_ORIGINS=http://localhost:8000,http://localhost:3000,https://yourdomain.com
# Google OAuth
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URI=http://localhost:8000/api/google/callback
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_TIMES=60
RATE_LIMIT_SECONDS=60
# Application
APP_NAME=HabitForge API
APP_VERSION=1.0.0
DEBUG=true