49
.env.example
Normal file
49
.env.example
Normal file
@@ -0,0 +1,49 @@
|
||||
# Environment
|
||||
NODE_ENV=development
|
||||
PORT=3000
|
||||
|
||||
# Database
|
||||
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/boilerplate_db?schema=public"
|
||||
|
||||
# JWT
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-in-production
|
||||
JWT_ACCESS_EXPIRATION=15m
|
||||
JWT_REFRESH_EXPIRATION=7d
|
||||
|
||||
# Redis
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# i18n
|
||||
DEFAULT_LANGUAGE=en
|
||||
FALLBACK_LANGUAGE=en
|
||||
|
||||
# Optional Features (set to "true" to enable)
|
||||
ENABLE_MAIL=false
|
||||
ENABLE_S3=false
|
||||
ENABLE_WEBSOCKET=false
|
||||
ENABLE_MULTI_TENANCY=false
|
||||
|
||||
# Mail (Optional - only needed if ENABLE_MAIL=true)
|
||||
MAIL_HOST=smtp.example.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USER=
|
||||
MAIL_PASSWORD=
|
||||
MAIL_FROM=noreply@example.com
|
||||
|
||||
# S3/MinIO (Optional - only needed if ENABLE_S3=true)
|
||||
S3_ENDPOINT=http://localhost:9000
|
||||
S3_ACCESS_KEY=minioadmin
|
||||
S3_SECRET_KEY=minioadmin
|
||||
S3_BUCKET=uploads
|
||||
S3_REGION=us-east-1
|
||||
|
||||
# Throttle / Rate Limiting
|
||||
THROTTLE_TTL=60000
|
||||
THROTTLE_LIMIT=100
|
||||
|
||||
# Gemini AI (Optional - only needed if ENABLE_GEMINI=true)
|
||||
ENABLE_GEMINI=false
|
||||
GOOGLE_API_KEY=your-google-api-key
|
||||
GEMINI_MODEL=gemini-2.5-flash
|
||||
Reference in New Issue
Block a user