-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (44 loc) · 1.09 KB
/
.env.example
File metadata and controls
55 lines (44 loc) · 1.09 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Application Configuration
NODE_ENV=development
PORT=3000
HOST=localhost
# Database Configuration
# Currently using SQLite for development
DB_CLIENT=sqlite3
DB_FILENAME=./data/development.db
# For future PostgreSQL support (as mentioned in README)
# DB_CLIENT=postgresql
# DB_HOST=localhost
# DB_PORT=5432
# DB_USER=your_db_user
# DB_PASSWORD=your_db_password
# DB_NAME=bharat_api
# API Configuration
API_PREFIX=/api
API_VERSION=v1
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# CORS Configuration
CORS_ORIGIN=*
CORS_METHODS=GET,POST,PUT,DELETE
CORS_ALLOWED_HEADERS=Content-Type,Authorization
# Logging
LOG_LEVEL=info
LOG_FORMAT=combined
# CSV Import Configuration
CSV_CHUNK_SIZE=200
CSV_IMPORT_PATH=./data/imports
# Security
JWT_SECRET=your_jwt_secret_key_here
API_KEY_REQUIRED=false
# Cache Configuration (for future Redis implementation)
# REDIS_HOST=localhost
# REDIS_PORT=6379
# REDIS_PASSWORD=
# CACHE_TTL=3600
# Monitoring & Analytics (for future implementation)
# ANALYTICS_ENABLED=false
# MONITORING_ENDPOINT=
# Docker Configuration
# DOCKER_DB_VOLUME=./data:/app/data