-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (30 loc) · 1.05 KB
/
Copy path.env.example
File metadata and controls
37 lines (30 loc) · 1.05 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
# Server Configuration
PORT=5000
NODE_ENV=production
# Database Configuration (PostgreSQL)
# For Render: This will be automatically set by Render's PostgreSQL service
DATABASE_URL=postgresql://user:password@localhost:5432/wifi_billing
# JWT Secret - Generate a strong random secret
JWT_SECRET=your-secure-random-jwt-secret-here-change-in-production
# Admin Credentials
ADMIN_USERNAME=your_admin_username
ADMIN_PASSWORD=your_secure_admin_password
ADMIN_EMAIL=admin@yourdomain.com
# M-Pesa Configuration
MPESA_ENABLED=true
MPESA_CONSUMER_KEY=your_mpesa_consumer_key
MPESA_CONSUMER_SECRET=your_mpesa_consumer_secret
MPESA_SHORTCODE=your_mpesa_shortcode
MPESA_PASSKEY=your_mpesa_passkey
MPESA_CALLBACK_URL=https://your-render-app.onrender.com/api/mpesa/callback
# MikroTik Configuration
MIKROTIK_ENABLED=true
MIKROTIK_HOST=192.168.88.1
MIKROTIK_USER=your_mikrotik_username
MIKROTIK_PASSWORD=your_mikrotik_password
MIKROTIK_PORT=8728
# Loan Configuration
LOAN_WIFI_DURATION_HOURS=1
# Additional Admin (for MikroTik)
MIKROTIK_ADMIN_USERNAME=admin
MIKROTIK_ADMIN_PASSWORD=admin123