forked from Nexacore-Org/NexaFx-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (42 loc) · 1.27 KB
/
.env.example
File metadata and controls
52 lines (42 loc) · 1.27 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
# Application Configuration
NODE_ENV=development
PORT=3000
# Request Body Size Limits (in MB)
BODY_LIMIT_JSON=10
BODY_LIMIT_URLENCODED=10
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=your_secure_db_password
DB_NAME=nexafx_db
DB_SSL=false
# JWT Configuration
JWT_SECRET=your_super_secret_jwt_key_must_be_at_least_32_characters_long_for_security
JWT_EXPIRY=3600
# Refresh Token Configuration
REFRESH_TOKEN_SECRET=your_super_secret_refresh_token_key_must_be_at_least_32_characters_long
REFRESH_TOKEN_EXPIRY=604800
# OTP Configuration
OTP_SECRET=your_super_secret_otp_key_must_be_at_least_32_characters_long
OTP_EXPIRY=300
# Wallet Encryption Configuration (64-character hex string)
WALLET_ENCRYPTION_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
# External Service Credentials
EXTERNAL_API_KEY=your_external_api_key
EXTERNAL_API_URL=https://api.example.com
EXTERNAL_API_TIMEOUT=30000
# Mail Configuration
MAIL_HOST=smtp.example.com
MAIL_PORT=587
MAIL_PASSWORD=your_mail_password
MAIL_SECURE=false
# Redis Configuration (optional)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# Rate Limiting Configuration
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=100