# Server configuration PORT=8081 APP_ENV=development # development | staging | production # PostgreSQL connection string DATABASE_URL=postgresql://focusflow:focusflow@localhost:5433/focusflow # Redis connection string (for rate limiting, caching, sessions) REDIS_URL=redis://localhost:6380 # JWT secret key — generate a strong random string for production JWT_SECRET=change-me-to-a-secure-random-string # JWT token lifetimes ACCESS_TOKEN_EXPIRY_MINUTES=15 REFRESH_TOKEN_EXPIRY_DAYS=30 # Rate limiting RATE_LIMIT_REQUESTS=100 RATE_LIMIT_WINDOW_SECONDS=60 # Logging level: ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, SHOUT, OFF LOG_LEVEL=INFO