refresh
This commit is contained in:
24
.env.example
Normal file
24
.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# Backend Configuration
|
||||
NODE_ENV=production
|
||||
PORT=4000
|
||||
|
||||
# Database
|
||||
DATABASE_PATH=./backend/awards.db
|
||||
|
||||
# Admin Credentials (use bcrypt hash for password)
|
||||
# Generate hash with: node -e "require('bcryptjs').hash('your-password', 10).then(console.log)"
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD_HASH=
|
||||
|
||||
# CORS Configuration
|
||||
CORS_ORIGIN=https://awards.scottyah.com
|
||||
|
||||
# Nominatim API Configuration
|
||||
NOMINATIM_BASE_URL=https://nominatim.openstreetmap.org
|
||||
NOMINATIM_USER_AGENT=BestOfPBAwardsApp/1.0
|
||||
|
||||
# Rate Limiting
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
RATE_LIMIT_NOMINATION_MAX=10
|
||||
RATE_LIMIT_EMOJI_MAX=50
|
||||
Reference in New Issue
Block a user