-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 756 Bytes
/
Copy path.env.example
File metadata and controls
30 lines (23 loc) · 756 Bytes
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
# BookStore API Environment Configuration
# Copy this file to .env and update values for your environment
# Database Configuration
DATABASE_URL=postgresql://bookstore:password@localhost:5432/bookstore_db
# Redis Configuration
REDIS_URL=redis://localhost:6379
# Security Configuration
SECRET_KEY=your-secret-key-here-change-in-production
JWT_SECRET_KEY=your-jwt-secret-key-here-change-in-production
JWT_EXPIRE_MINUTES=30
# Application Configuration
ENVIRONMENT=development
DEBUG=true
LOG_LEVEL=INFO
LOG_FORMAT=json
# Performance Configuration
WORKERS=4
MAX_CONNECTIONS=100
# CORS Configuration (comma-separated origins)
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
# Rate Limiting
RATE_LIMIT_PER_MINUTE=60
AUTH_RATE_LIMIT_PER_MINUTE=10