# Application Configuration # Copy this file to .env and update with your values # =================================================================== # Environment # =================================================================== # Development: development # Production: production NODE_ENV=development # Log Level (debug, info, warn, error) # Development: debug # Production: info LOG_LEVEL=debug # Server Port (default: 3001) PORT=3001 # =================================================================== # URLs # =================================================================== # Frontend URL (e.g., https://awards.dj7nt.de) # Leave empty for development (uses localhost) VITE_APP_URL= # API Base URL (leave empty for same-domain deployment) # Only set if API is on different domain VITE_API_BASE_URL= # Allowed CORS origins for backend (comma-separated) # Add all domains that should access the API # Example: https://awards.dj7nt.de,https://www.awards.dj7nt.de ALLOWED_ORIGINS= # =================================================================== # Security # =================================================================== # JWT Secret (REQUIRED for production) # Development: uses default if not set # Production: Generate with: openssl rand -base64 32 JWT_SECRET=change-this-in-production # =================================================================== # Database (Optional) # =================================================================== # Leave empty to use default SQLite database # DATABASE_URL=file:/path/to/custom.db