This commit is contained in:
Alvin-Zilverstand
2026-02-09 11:04:18 +01:00
parent ab0e44ce33
commit 87b7da53ca
38 changed files with 16457 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
# SnowWorld Narrowcasting System - Environment Configuration
# Server Configuration
PORT=3000
NODE_ENV=development
# Database Configuration
DB_PATH=./database/snowworld.db
# File Upload Configuration
MAX_FILE_SIZE=52428800
UPLOAD_DIR=./public/uploads
# CORS Configuration
CORS_ORIGIN=*
# WebSocket Configuration
WS_CORS_ORIGIN=*
# Security Configuration
SESSION_SECRET=your-secret-key-here
JWT_SECRET=your-jwt-secret-here
# External API Configuration (optional)
WEATHER_API_KEY=your-weather-api-key
WEATHER_API_URL=https://api.openweathermap.org/data/2.5/weather
# Logging Configuration
LOG_LEVEL=info
LOG_FILE=./logs/app.log
# Rate Limiting
RATE_LIMIT_WINDOW=15
RATE_LIMIT_MAX=100
# File Type Configuration
ALLOWED_IMAGE_TYPES=image/jpeg,image/png,image/gif,image/webp
ALLOWED_VIDEO_TYPES=video/mp4,video/webm,video/ogg
# Default Zones
DEFAULT_ZONES=reception,restaurant,skislope,lockers,shop
# Content Configuration
DEFAULT_CONTENT_DURATION=10
MAX_CONTENT_DURATION=300
# Schedule Configuration
MAX_SCHEDULE_DAYS_AHEAD=30
SCHEDULE_CHECK_INTERVAL=60000