35 lines
926 B
Bash
35 lines
926 B
Bash
# Server Configuration
|
|
NODE_ENV=development
|
|
PORT=3000
|
|
|
|
# Database — SQLite (local default). Use DB_DIALECT=postgres for PostgreSQL.
|
|
DB_DIALECT=sqlite
|
|
SQLITE_STORAGE=./data/luckychit.sqlite
|
|
|
|
# PostgreSQL (only when DB_DIALECT=postgres)
|
|
# DB_HOST=localhost
|
|
# DB_PORT=5432
|
|
# DB_NAME=luckychit
|
|
# DB_USER=luckychit
|
|
# DB_PASSWORD=postgres
|
|
# DATABASE_URL=postgresql://luckychit:postgres@localhost:5432/luckychit
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET=2559a382d606e4209085401d693ae25f
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# CORS Configuration
|
|
<<<<<<< HEAD
|
|
ALLOWED_ORIGINS=http://localhost:8080,http://localhost:3000,https://chitfund.deepteklabs.com,http://chitfund.deepteklabs.com
|
|
|
|
=======
|
|
ALLOWED_ORIGINS=https://chitfund.deepteklabs.com,http://chitfund.deepteklabs.com,http://localhost:8080,http://localhost:3000
|
|
>>>>>>> main
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|
|
PHONEPE_UPI_ID=8500176938@axl
|