# ══════════════════════════════════════════════════════
#  Muhsinah Academy — Server Environment Variables
#  Copy this file: cp .env.example .env
#  Fill in ALL values before starting the server
# ══════════════════════════════════════════════════════

# ── App ──────────────────────────────────────────────
NODE_ENV=development
PORT=5000
CLIENT_URL=http://localhost:5173

# ── Database ─────────────────────────────────────────
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASS= 
DB_NAME=mtalks_db

# ── JWT ──────────────────────────────────────────────
# Generate with: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
JWT_SECRET=muhsinah_access_secret_change_in_production
JWT_REFRESH_SECRET=muhsinah_refresh_secret_change_in_production
JWT_ACCESS_EXPIRES=15m
JWT_REFRESH_EXPIRES=7d

# ── cPanel SMTP ───────────────────────────────────────
SMTP_HOST=37.49.229.75
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=noreply@themuhsinahacademy.com
SMTP_PASS=qc3rIP1ioioioioioKUUA%SDj

# ── Gmail fallback (optional) ────────────────────────
GMAIL_USER=themuhsinahacademy@gmail.com
GMAIL_APP_PASSWORD=veszuyideqsqhjjp

# ── Paystack ─────────────────────────────────────────
# Get from: dashboard.paystack.com → Settings → API Keys
PAYSTACK_PUBLIC_KEY=pk_test_48513270b7f123e3a6db989d36fd5e9f2f7b6875
PAYSTACK_SECRET_KEY=sk_test_c6041f5ad7ad2a581a07b572b2c2ca1229ecc36e

# ── Google Drive (optional) ──────────────────────────
GOOGLE_API_KEY=your_google_api_key
