-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 1.25 KB
/
Copy path.env.example
File metadata and controls
50 lines (40 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# LastMile Delivery Platform Environment Configuration
# Server Configuration
NODE_ENV=production
PORT=5000
# Database Configuration
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/lastmile-delivery?retryWrites=true&w=majority&appName=Cluster0
MONGODB_TEST_URI=mongodb://localhost:27017/lastmile_test
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-this-in-production
JWT_EXPIRES_IN=24h
# API Configuration
API_BASE_URL=http://localhost:5000/api
FRONTEND_URL=http://localhost:3000
# External Services
GEOCODING_API_KEY=your-geocoding-api-key
PAYMENT_GATEWAY_KEY=your-payment-gateway-key
EMAIL_SERVICE_KEY=your-email-service-key
# Notification Services
PUSH_NOTIFICATION_KEY=your-push-notification-key
EMAIL_FROM=noreply@lastmile.com
EMAIL_SMTP_HOST=smtp.gmail.com
EMAIL_SMTP_PORT=587
EMAIL_SMTP_USER=your-email@gmail.com
EMAIL_SMTP_PASS=your-email-password
# Security
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
BCRYPT_SALT_ROUNDS=12
# Logging
LOG_LEVEL=info
LOG_FILE=logs/app.log
# Feature Flags
ENABLE_CACHING=true
ENABLE_RATE_LIMITING=true
ENABLE_COMPRESSION=true
ENABLE_CORS=true