39 lines
854 B
Plaintext
39 lines
854 B
Plaintext
# =============================================================================
|
|
# POS MICRO - ENVIRONMENT CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Application
|
|
NODE_ENV=development
|
|
PORT=3071
|
|
API_PREFIX=api/v1
|
|
|
|
# Database
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_USERNAME=pos_micro
|
|
DB_PASSWORD=pos_micro_secret
|
|
DB_DATABASE=pos_micro_db
|
|
DB_SCHEMA=pos_micro
|
|
DB_SSL=false
|
|
|
|
# JWT
|
|
JWT_SECRET=your-super-secret-jwt-key-change-in-production
|
|
JWT_EXPIRES_IN=24h
|
|
JWT_REFRESH_EXPIRES_IN=7d
|
|
|
|
# Rate Limiting
|
|
THROTTLE_TTL=60
|
|
THROTTLE_LIMIT=100
|
|
|
|
# WhatsApp Business API (optional)
|
|
WHATSAPP_API_URL=https://graph.facebook.com/v18.0
|
|
WHATSAPP_TOKEN=your-whatsapp-token
|
|
WHATSAPP_PHONE_NUMBER_ID=your-phone-number-id
|
|
WHATSAPP_VERIFY_TOKEN=your-verify-token
|
|
|
|
# Logging
|
|
LOG_LEVEL=debug
|
|
|
|
# CORS
|
|
CORS_ORIGIN=http://localhost:5173
|