22 lines
640 B
Plaintext
22 lines
640 B
Plaintext
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV=development
|
|
|
|
# Database Configuration
|
|
MONGO_URI=mongodb://127.0.0.1:27017/tracking-leaders
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# Admin Initial Password (used by seed.js if admin doesn't exist)
|
|
# ADMIN_INITIAL_PASSWORD=secure-password-here
|
|
|
|
# CORS Configuration (comma-separated for multiple origins)
|
|
CORS_ORIGIN=http://localhost:3000
|
|
|
|
# Geocoding Configuration (OpenStreetMap Nominatim)
|
|
GEOCODE_URL=https://nominatim.openstreetmap.org/search
|
|
GEOCODE_USER_AGENT=tracking-leaders-app/1.0 (admin@localhost)
|
|
GEOCODE_MIN_DELAY_MS=1100
|