-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (42 loc) · 1.2 KB
/
Copy path.env.example
File metadata and controls
49 lines (42 loc) · 1.2 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
# Server Configuration
HOST=0.0.0.0
PORT=8080
APP_PORT=8081
CORS_ORIGINS=*
RUST_LOG=info
# Database Configuration
# Internal URL for Docker: postgres://postgres:password@db:5432/payego
# External URL for Local Development: postgres://postgres:password@localhost:5434/payego
DATABASE_URL=postgres://postgres:password@localhost:5434/payego
DB_USER=postgres
DB_PASSWORD=password
DB_NAME=payego
DB_PORT=5434
# Security
JWT_SECRET=your_32_character_long_secret_here_min_length
JWT_EXPIRATION_HOURS=24
ISSUER=payego-api
AUDIENCE=payego-client
# Stripe Details
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
STRIPE_API_URL=https://api.stripe.com
# Paystack Details
PAYSTACK_SECRET_KEY=sk_test_...
PAYSTACK_WEBHOOK_SECRET=your_paystack_webhook_token
PAYSTACK_API_URL=https://api.paystack.co
# PayPal Details
PAYPAL_CLIENT_ID=your_paypal_client_id
PAYPAL_SECRET=your_paypal_secret
PAYPAL_API_URL=https://api-m.sandbox.paypal.com
# Other Configs
APP_URL=http://localhost:8080
FEE_BPS=100
EXCHANGE_API_URL=https://api.exchangerate-api.com/v4/latest
DEFAULT_COUNTRY=Nigeria
# SMTP Configuration
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your_email@gmail.com
SMTP_PASS=your_app_password
SMTP_FROM=noreply@payego.com