feature updates

This commit is contained in:
2026-02-02 16:28:53 -05:00
parent bf9aa3fa23
commit 44c06530ac
83 changed files with 282641 additions and 11251 deletions

31
server/.env.example Normal file
View File

@@ -0,0 +1,31 @@
# Database
DATABASE_URL=postgresql://postgres:fftcg_secret@localhost:5432/fftcg
POSTGRES_PASSWORD=fftcg_secret
# JWT
JWT_SECRET=change-this-to-a-secure-random-string
JWT_EXPIRES_IN=7d
# Server ports
HTTP_PORT=3000
WS_PORT=3001
# SMTP (Email)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
SMTP_FROM=noreply@fftcg.local
# App URL (for email links)
APP_URL=http://localhost:3000
# Game settings
TURN_TIMEOUT_MS=120000
HEARTBEAT_INTERVAL_MS=10000
HEARTBEAT_TIMEOUT_MS=30000
# ELO settings
ELO_K_FACTOR=32
ELO_STARTING_RATING=1000