forked from Pulsefy/QiuckEx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
125 lines (84 loc) · 3.27 KB
/
Copy path.env.example
File metadata and controls
125 lines (84 loc) · 3.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# ============================================================
# QiuckEx Backend Environment Configuration
# ============================================================
# Copy this file to .env before running the project.
#
# cp .env.example .env
#
# Replace placeholder values with your own secrets.
# Never commit a populated .env file.
# ============================================================
# ------------------------------------------------------------
# Application
# ------------------------------------------------------------
NODE_ENV=development
PORT=3000
APP_NAME=QiuckEx
APP_URL=http://localhost:3000
LOG_LEVEL=debug
# ------------------------------------------------------------
# Database
# ------------------------------------------------------------
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/quickex
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=quickex
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
# ------------------------------------------------------------
# Authentication
# ------------------------------------------------------------
JWT_SECRET=replace-with-secure-secret
JWT_EXPIRES_IN=7d
REFRESH_TOKEN_SECRET=replace-with-refresh-secret
REFRESH_TOKEN_EXPIRES_IN=30d
# ------------------------------------------------------------
# Redis
# ------------------------------------------------------------
REDIS_URL=redis://localhost:6379
# ------------------------------------------------------------
# Stripe
# ------------------------------------------------------------
STRIPE_SECRET_KEY=sk_test_xxxxxxxxxxxxxxxxx
STRIPE_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxx
# ------------------------------------------------------------
# USDC / Stablecoin
# ------------------------------------------------------------
USDC_TOKEN_CONTRACT=
# ------------------------------------------------------------
# Stellar Network
# ------------------------------------------------------------
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
STELLAR_SECRET_KEY=SXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
STELLAR_PUBLIC_KEY=GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# ------------------------------------------------------------
# Payment Settings
# ------------------------------------------------------------
PAYMENT_PROVIDER=stripe
PAYMENT_TIMEOUT_SECONDS=60
PAYMENT_CONFIRMATIONS=1
# ------------------------------------------------------------
# CORS
# ------------------------------------------------------------
CORS_ORIGIN=http://localhost:5173
# ------------------------------------------------------------
# Rate Limiting
# ------------------------------------------------------------
RATE_LIMIT_WINDOW=60
RATE_LIMIT_MAX=100
# ------------------------------------------------------------
# Rust / Soroban
# ------------------------------------------------------------
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
SOROBAN_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
CONTRACT_ID=
# ------------------------------------------------------------
# Feature Flags
# ------------------------------------------------------------
ENABLE_STRIPE=true
ENABLE_USDC=true
ENABLE_STELLAR=true
ENABLE_SWAPS=true