PHP 8.2.30
Preview: .env.production.template Size: 3.02 KB
/home/byroehnu/easepaybiz.easetack.com/.env.production.template

# EasePay Backend Production Environment Configuration# EasePay Production Environment Template

# Copy these variables to your production environment (Render/Heroku/etc.)# Copy this to your Render environment variables

# ===============================================# ===============================================



# Server Configuration# Server Configuration

NODE_ENV=productionNODE_ENV=production

PORT=5004FRONTEND_URL=https://your-frontend-domain.com

FRONTEND_URL=https://your-frontend-domain.com

# Database Configuration (Use your actual Neon/PostgreSQL production URL)

# Database Configuration (Replace with your production database URL)DATABASE_URL=postgresql://neondb_owner:npg_8RFH7CPDqmZg@ep-billowing-night-ah2lwcbc.c-3.us-east-1.aws.neon.tech/neondb?sslmode=require&connect_timeout=30

DATABASE_URL=postgresql://username:password@host:port/database?sslmode=require

# JWT Configuration (Use a strong secret in production)

# JWT Configuration (Use a strong secret in production)JWT_SECRET=your_super_secure_jwt_secret_at_least_32_characters_long

JWT_SECRET=your_super_secure_jwt_secret_minimum_32_charactersJWT_EXPIRES_IN=7d

JWT_EXPIRES_IN=7d

# Rate Limiting

# Rate LimitingRATE_LIMIT_WINDOW_MS=900000

RATE_LIMIT_WINDOW_MS=900000RATE_LIMIT_MAX_REQUESTS=100

RATE_LIMIT_MAX_REQUESTS=100

# OTP Configuration

# OTP Configuration (OTP.dev API)OTP_EXPIRY_MINUTES=10

OTP_EXPIRY_MINUTES=10MAX_OTP_ATTEMPTS=3

MAX_OTP_ATTEMPTS=3OTP_LOCKOUT_MINUTES=15

OTP_LOCKOUT_MINUTES=15

OTP_API_KEY=your_otp_dev_api_key# Flutterwave Configuration (Use actual live keys for production)

OTP_SENDER_ID=your_otp_dev_sender_idFLW_SECRET_KEY=FLWSECK-your_live_secret_key_here

OTP_TEMPLATE_ID=your_otp_dev_template_idFLW_PUBLIC_KEY=FLWPUBK-your_live_public_key_here

FLUTTERWAVE_WEBHOOK_HASH=your_webhook_hash_here

# Flutterwave Configuration (Use LIVE keys in production)FLUTTERWAVE_BASE_URL=https://api.flutterwave.com/v3

FLW_SECRET_KEY=FLWSECK-your_live_secret_key

FLW_PUBLIC_KEY=FLWPUBK-your_live_public_key# Email Configuration (Configure with actual email service)

FLUTTERWAVE_WEBHOOK_HASH=your_webhook_hashEMAIL_HOST=smtp.gmail.com

FLUTTERWAVE_BASE_URL=https://api.flutterwave.com/v3EMAIL_PORT=587

EMAIL_USER=your_production_email@gmail.com

# Email ConfigurationEMAIL_PASSWORD=your_production_app_password

EMAIL_HOST=smtp.gmail.comEMAIL_FROM_NAME=EasePay

EMAIL_PORT=587EMAIL_FROM_ADDRESS=noreply@yourdomain.com

EMAIL_USER=your_production_email@gmail.com

EMAIL_PASSWORD=your_email_app_password# Subscription Configuration

EMAIL_FROM_NAME=EasePayDEFAULT_PLAN=free

EMAIL_FROM_ADDRESS=your_production_email@gmail.comGRACE_PERIOD_DAYS=7

ENABLE_SUBSCRIPTION_EMAILS=true

# Subscription ConfigurationEXPIRY_WARNING_DAYS=14,7,3,1

DEFAULT_PLAN=freeADMIN_EMAIL=admin@yourdomain.com

GRACE_PERIOD_DAYS=7

ENABLE_SUBSCRIPTION_EMAILS=true# Security Configuration

EXPIRY_WARNING_DAYS=14,7,3,1BCRYPT_ROUNDS=12

ADMIN_EMAIL=admin@easepay.comSESSION_TIMEOUT_HOURS=24

MAX_LOGIN_ATTEMPTS=5

# Security ConfigurationLOCKOUT_DURATION_MINUTES=30
BCRYPT_ROUNDS=12
SESSION_TIMEOUT_HOURS=24

Directory Contents

Dirs: 14 × Files: 19

Name Size Perms Modified Actions
.adminjs DIR
- drwxr-xr-x 2026-03-14 01:49:04
Edit Download
config DIR
- drwxr-xr-x 2026-03-14 01:49:04
Edit Download
- drwxr-xr-x 2026-03-14 01:49:12
Edit Download
- drwxr-xr-x 2026-03-14 01:49:04
Edit Download
- drwxr-xr-x 2026-03-14 01:49:04
Edit Download
images DIR
- drwxr-xr-x 2026-03-21 09:47:23
Edit Download
- drwxr-xr-x 2026-03-22 12:37:17
Edit Download
- drwxr-xr-x 2026-03-14 01:49:04
Edit Download
prisma DIR
- drwxr-xr-x 2026-03-14 01:49:04
Edit Download
routes DIR
- drwxr-xr-x 2026-03-20 23:25:48
Edit Download
scripts DIR
- drwxr-xr-x 2026-03-20 00:05:44
Edit Download
services DIR
- drwxr-xr-x 2026-03-20 11:35:27
Edit Download
tmp DIR
- drwxr-xr-x 2026-03-22 07:35:33
Edit Download
utils DIR
- drwxr-xr-x 2026-03-14 01:49:04
Edit Download
1.87 KB lrw-r--r-- 2026-03-02 07:23:00
Edit Download
3.02 KB lrw-r--r-- 2026-02-26 16:27:46
Edit Download
54 B lrw-r--r-- 2026-03-03 05:21:52
Edit Download
1.99 KB lrw-r--r-- 2026-03-02 04:00:46
Edit Download
1.99 KB lr--r--r-- 2026-03-14 01:40:10
Edit Download
21.77 KB lrw-r--r-- 2026-03-04 23:41:22
Edit Download
95.99 MB lrw-r--r-- 2026-03-04 23:40:43
Edit Download
23.32 KB lr--r--r-- 2026-03-14 00:49:43
Edit Download
5.12 KB lrw-r--r-- 2026-03-02 08:04:38
Edit Download
360.34 KB lrw-r--r-- 2026-02-28 13:42:20
Edit Download
1.94 KB lrw-r--r-- 2026-03-05 15:13:41
Edit Download
33.05 KB lrw-r--r-- 2026-02-28 12:52:54
Edit Download
374 B lrw-r--r-- 2026-01-26 22:49:38
Edit Download
37.08 KB lrw-r--r-- 2026-02-26 16:27:46
Edit Download
88 B lrw-r--r-- 2026-03-14 00:49:44
Edit Download
7.04 KB lrw-r--r-- 2026-03-04 23:57:24
Edit Download
331.20 KB lrw-r--r-- 2026-03-12 06:51:30
Edit Download
6.32 KB lrw-r--r-- 2026-02-26 16:27:46
Edit Download
6.11 KB lr--r--r-- 2026-03-14 01:40:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).