Initial commit
This commit is contained in:
23
.env.example
Normal file
23
.env.example
Normal file
@@ -0,0 +1,23 @@
|
||||
# .env.example
|
||||
# Database Configuration
|
||||
DATABASE_URL=postgresql://username:password@localhost:5432/ecommerce_db
|
||||
# For development, you can use SQLite:
|
||||
# DATABASE_URL=sqlite:///./ecommerce.db
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET_KEY=your-super-secret-jwt-key-change-in-production
|
||||
JWT_EXPIRE_HOURS=24
|
||||
|
||||
# API Configuration
|
||||
API_HOST=0.0.0.0
|
||||
API_PORT=8000
|
||||
DEBUG=False
|
||||
|
||||
# Rate Limiting
|
||||
RATE_LIMIT_ENABLED=True
|
||||
DEFAULT_RATE_LIMIT=100
|
||||
DEFAULT_WINDOW_SECONDS=3600
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
LOG_FILE=app.log
|
||||
Reference in New Issue
Block a user