cPanel Node.js application
------------------------
Application root: this folder (after unzip)
Application startup file: index.js  (server.js is also included for local/Docker use)
Node version: 20.x (match cPanel selector)

Set environment variables in cPanel (see .env.production.example in repo root).
Import database: sql/production_cpanel_import.sql via phpMyAdmin (fresh DB only).

Do not expose uploads/ or .env inside public_html.

Health checks after deploy:
  GET /api/health       — JSON status (200 even if degraded; read database/auth fields)
  GET /api/health/ready — 503 when DB or auth config is broken
  GET /api/health/live  — process up only

Zip this entire folder for upload (7-Zip or: Compress-Archive -Path deploy\* -DestinationPath deploy.zip).