-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (44 loc) · 1.28 KB
/
Copy path.env.example
File metadata and controls
54 lines (44 loc) · 1.28 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
# Server Configuration
NODE_ENV=development
PORT=3000
API_BASE_URL=http://localhost:3000
# Database Configuration
# MongoDB
DATABASE_URL=mongodb://localhost:27017/openwallet
# Or PostgreSQL:
# DATABASE_URL=postgresql://user:password@localhost:5432/openwallet
# Tokenization Provider (Basis Theory or compatible)
TOKENIZATION_API_KEY=your_api_key_here
TOKENIZATION_BASE_URL=https://api.basistheory.com
TOKENIZATION_TENANT_ID=your_tenant_id_here
# Security
JWT_SECRET=your_jwt_secret_here_change_in_production
ENCRYPTION_KEY=your_encryption_key_32_chars_min
WEBHOOK_SECRET=your_webhook_secret_here
# Redis (optional, for caching and sessions)
REDIS_URL=redis://localhost:6379
# Payment Providers
APPLE_PAY_MERCHANT_ID=merchant.com.yourapp
APPLE_PAY_MERCHANT_NAME=Your App Name
GOOGLE_PAY_MERCHANT_ID=your_google_merchant_id
GOOGLE_PAY_MERCHANT_NAME=Your App Name
GOOGLE_PAY_ENVIRONMENT=TEST
# Wallet Configuration
DEFAULT_CURRENCY=USD
MIN_BALANCE=0
MAX_BALANCE=10000
AUTO_TOPUP_ENABLED=false
AUTO_TOPUP_THRESHOLD=10
AUTO_TOPUP_AMOUNT=50
# Security & Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX=100
CORS_ORIGINS=http://localhost:3000,https://yourapp.com
# Logging
LOG_LEVEL=info
LOG_FILE=logs/app.log
# Monitoring (optional)
SENTRY_DSN=
NEW_RELIC_LICENSE_KEY=
# Testing
TEST_MODE=false