Add EDH Stats backend and frontend scaffolding

This commit is contained in:
2026-01-14 20:12:05 +01:00
commit 993771f34c
32 changed files with 10440 additions and 0 deletions

29
.env.example Normal file
View File

@@ -0,0 +1,29 @@
# Environment Variables Template
# Copy this file to .env and update values
# Application Configuration
NODE_ENV=development
PORT=3000
HOST=0.0.0.0
# Security
JWT_SECRET=your-super-secure-jwt-secret-key-change-this-in-production
SESSION_SECRET=your-session-secret-change-this-in-production
# Database
DATABASE_PATH=/app/database/data/edh-stats.db
DATABASE_BACKUP_PATH=/app/database/data/backups
# CORS Configuration
CORS_ORIGIN=http://localhost:80
# Logging
LOG_LEVEL=info
# Rate Limiting
RATE_LIMIT_WINDOW=15
RATE_LIMIT_MAX=100
# Monitoring
HEALTH_CHECK_ENABLED=true
METRICS_ENABLED=false