# ============================================================================= # MISTRAL REACT BOILERPLATE - Environment Configuration # ============================================================================= # Copy this file to .env and fill in your values # NEVER commit .env to version control # ----------------------------------------------------------------------------- # SUPABASE CONFIGURATION # ----------------------------------------------------------------------------- # Get these from your Supabase project settings > API VITE_SUPABASE_URL=https://your-project.supabase.co VITE_SUPABASE_ANON_KEY=your-anon-key # Direct database connection (for server-side operations only) # Format: postgresql://postgres:[PASSWORD]@db.[PROJECT_REF].supabase.co:5432/postgres DATABASE_URL=postgresql://postgres:your-password@db.your-project.supabase.co:5432/postgres # ----------------------------------------------------------------------------- # REDIS CONFIGURATION # ----------------------------------------------------------------------------- # Redis connection URL (use Upstash, Redis Cloud, or local Redis) REDIS_URL=redis://localhost:6379 # Redis cache TTL in seconds (default: 1 hour) REDIS_CACHE_TTL=3600 # ----------------------------------------------------------------------------- # SERVER CONFIGURATION # ----------------------------------------------------------------------------- # Backend API server port SERVER_PORT=3001 # Frontend dev server port (Vite default) VITE_PORT=5173 # API base URL for frontend requests VITE_API_URL=http://localhost:3001 # ----------------------------------------------------------------------------- # APPLICATION CONFIGURATION # ----------------------------------------------------------------------------- # Environment: development | staging | production NODE_ENV=development # Enable debug logging DEBUG=false # ----------------------------------------------------------------------------- # MISTRAL AI CONFIGURATION (for interview preparation) # ----------------------------------------------------------------------------- # Mistral API key - get from https://console.mistral.ai/ MISTRAL_API_KEY=your-mistral-api-key