Art Source International — production build for cPanel (Node.js app)
====================================================================

WHAT IS IN HERE
  server/        compiled Node.js server (SSR + API + admin)
  public/        static assets (js/css/images) served by the server
  app.js         startup file for cPanel
  package.json   start script ("node server/index.mjs")
  .env           backend/database keys (already filled in)

DEPLOY STEPS (cPanel)
1. Upload the CONTENTS of this folder to your app directory,
   e.g.  /home/USER/artsourceinternational.org
   (Keep the folder structure: server/, public/, app.js, package.json, .env)

2. cPanel -> Software -> "Setup Node.js App" -> Create Application
     Node.js version : 20.x or newer
     Application mode: Production
     Application root: artsourceinternational.org
     Application URL : artsourceinternational.org
     Startup file    : app.js
   Click CREATE.

3. Environment variables: the included .env is read automatically, but if your
   host ignores it, add these in the "Environment variables" section of the
   Node.js App screen (copy the values from .env):
     SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY, SUPABASE_SERVICE_ROLE_KEY,
     SUPABASE_PROJECT_ID

4. Press "Run NPM Install" (nothing to install, but it links Passenger),
   then "Restart".

5. Visit https://artsourceinternational.org

NOTES
- No build tools needed on the server; everything is pre-bundled.
- Do NOT put an index.html or .htaccess rewrite in the same doc root; the
  Node app handles all routing (/, /catalog, /careers, /admin, ...).
- Log in at /auth with your admin account to post jobs at /admin.
- To rebuild after code changes: `npm run build:node` in the project and
  re-upload .output/ contents.
