Inventory Studio

Separate FE + API + DB. Catalogue mediums and opportunities are dynamic. Publications are cloned from live data (or created here) and never write back to Manage Inventory.

API not reachable at http://127.0.0.1:8040. {"ok":false,"message":"Missing SQL param :int"}
Start API, set NEXT_PUBLIC_API_BASE_URL, run migrate + seed + clone on the server.

Deploy checklist

  1. Create MySQL database for Inventory 2.0 only
  2. Copy .env.example → .env and set INV2_* + SOURCE_DB_* (read-only)
  3. npm install then npm run migrate and npm run seed:catalogue
  4. npm run clone:publications to pull live publications + attributes into clone tables
  5. Point web domain to Next (8041) and API domain to Express (8040)