Fix jwt-token
This commit is contained in:
37
.env.development
Normal file
37
.env.development
Normal file
@@ -0,0 +1,37 @@
|
||||
# Development Environment Configuration
|
||||
# SMS alerts are disabled by default in development
|
||||
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5433
|
||||
DB_NAME=drone_detection
|
||||
DB_USER=postgres
|
||||
DB_PASSWORD=your_secure_password_here
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6380
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=dev_jwt_secret_change_in_production
|
||||
|
||||
# Server Configuration
|
||||
PORT=3002
|
||||
NODE_ENV=development
|
||||
|
||||
# CORS Configuration
|
||||
CORS_ORIGIN=http://localhost:3001
|
||||
|
||||
# Rate Limiting
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
|
||||
# Twilio SMS Configuration (Disabled for development)
|
||||
# Uncomment and fill these to enable SMS alerts:
|
||||
# TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
# TWILIO_AUTH_TOKEN=your_auth_token
|
||||
# TWILIO_PHONE_NUMBER=+1234567890
|
||||
|
||||
# Frontend Configuration
|
||||
VITE_API_URL=http://localhost:3002/api
|
||||
VITE_WS_URL=ws://localhost:3002
|
||||
Reference in New Issue
Block a user