-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (62 loc) · 1.89 KB
/
Copy path.env.example
File metadata and controls
77 lines (62 loc) · 1.89 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
# Server Configuration
NODE_ENV=development
PORT=5000
API_VERSION=v1
# Database
MONGODB_URI=mongodb://localhost:27017/clycites
MONGODB_TEST_URI=mongodb://localhost:27017/clycites_test
# JWT
JWT_SECRET=your_super_secret_jwt_key_change_in_production
JWT_REFRESH_SECRET=your_super_secret_refresh_key_change_in_production
JWT_EXPIRE=15m
JWT_REFRESH_EXPIRE=7d
# OTP
OTP_EXPIRE=10m
OTP_LENGTH=6
# Email Configuration
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
EMAIL_FROM=noreply@clycites.com
# SMS Configuration (Example: Twilio)
SMS_PROVIDER=twilio
TWILIO_ACCOUNT_SID=your_twilio_account_sid
TWILIO_AUTH_TOKEN=your_twilio_auth_token
TWILIO_PHONE_NUMBER=your_twilio_phone_number
# Payment Integration
# MTN MoMo
MTN_MOMO_API_KEY=your_mtn_momo_api_key
MTN_MOMO_USER_ID=your_mtn_momo_user_id
MTN_MOMO_SUBSCRIPTION_KEY=your_mtn_momo_subscription_key
MTN_MOMO_CALLBACK_URL=https://api.clycites.com/api/v1/payments/momo/callback
# Airtel Money
AIRTEL_MONEY_API_KEY=your_airtel_money_api_key
AIRTEL_MONEY_CLIENT_ID=your_airtel_money_client_id
AIRTEL_MONEY_CLIENT_SECRET=your_airtel_money_client_secret
# Weather API (Open-Meteo)
# Open-Meteo's public forecast API does not require an API key for the default tier.
WEATHER_API_KEY=
WEATHER_API_URL=https://api.open-meteo.com/v1
WEATHER_GEOCODING_URL=https://geocoding-api.open-meteo.com/v1
# AI/ML Service
AI_SERVICE_URL=http://localhost:8000
AI_SERVICE_API_KEY=your_ai_service_api_key
# Price Monitoring Service (Flask)
PRICE_MONITOR_PORT=5010
PRICE_MONITOR_URL=http://localhost:5010
FLASK_DEBUG=false
# File Upload
MAX_FILE_SIZE=5242880
UPLOAD_PATH=./uploads
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# Logging
LOG_LEVEL=info
LOG_FILE_PATH=./logs
# CORS
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# Admin
ADMIN_EMAIL=admin@clycites.com
ADMIN_INITIAL_PASSWORD=change_me_on_first_login