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
- Create MySQL database for Inventory 2.0 only
- Copy
.env.example→.envand set INV2_* + SOURCE_DB_* (read-only) npm installthennpm run migrateandnpm run seed:cataloguenpm run clone:publicationsto pull live publications + attributes into clone tables- Point web domain to Next (
8041) and API domain to Express (8040)