forked from DogStark/petChain-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
48 lines (41 loc) · 1.14 KB
/
.env.sample
File metadata and controls
48 lines (41 loc) · 1.14 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
# Email Configuration
SENDGRID_API_KEY=SG.xxxxxxxxxx
EMAIL_FROM=noreply@petcare.app
EMAIL_FROM_NAME=PetCare
APP_BASE_URL=https://yourapp.com
EMAIL_QUEUE_BATCH_SIZE=10
EMAIL_QUEUE_INTERVAL_SECONDS=30
EMAIL_MAX_ATTEMPTS=3
# JWT Configuration (CRITICAL: Change in production!)
JWT_SECRET=your-secret-key-min-32-chars-change-in-production
JWT_ACCESS_EXPIRATION=15m
JWT_REFRESH_EXPIRATION=7d
# Security Configuration
BCRYPT_ROUNDS=12
MAX_CONCURRENT_SESSIONS=3
ACCOUNT_LOCKOUT_DURATION=15m
PASSWORD_RESET_EXPIRATION=1h
EMAIL_VERIFICATION_EXPIRATION=24h
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE=petchain
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
# Storage Configuration (AWS S3)
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key
AWS_REGION=us-east-1
AWS_S3_BUCKET=petchain-files
# Stellar Wallet Management (AES-256 encryption)
# Generate with: openssl rand -base64 32
STELLAR_WALLET_MASTER_KEY=your-32-byte-base64-key
STELLAR_DEFAULT_NETWORK=TESTNET
# Application Configuration
NODE_ENV=development
PORT=3000
API_PREFIX=api/v1
CORS_ORIGIN=http://localhost:3000