feature updates
This commit is contained in:
31
server/.env.example
Normal file
31
server/.env.example
Normal 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
|
||||
Reference in New Issue
Block a user