after claude code
This commit is contained in:
31
.env.example
Normal file
31
.env.example
Normal file
@@ -0,0 +1,31 @@
|
||||
# Application
|
||||
NODE_ENV=development
|
||||
PORT=3000
|
||||
API_PREFIX=api
|
||||
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_USERNAME=postgres
|
||||
DB_PASSWORD=postgres
|
||||
DB_DATABASE=retail_pos
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=your-super-secret-key-change-in-production
|
||||
JWT_EXPIRES_IN=1d
|
||||
JWT_REFRESH_EXPIRES_IN=7d
|
||||
|
||||
# Redis Configuration (for caching)
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
CACHE_TTL=300
|
||||
|
||||
# CORS Configuration
|
||||
CORS_ORIGIN=http://localhost:3000,capacitor://localhost
|
||||
|
||||
# Rate Limiting
|
||||
THROTTLE_TTL=60
|
||||
THROTTLE_LIMIT=100
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=debug
|
||||
Reference in New Issue
Block a user