Skip to content

Shopify App

Separate requests are required for variants and inventory, otherwise the query cost is too high.

The query doesn’t need a cursor to page and get all results as a bulk operation is used.

Shopify product and variant ids could be bigint in the database but JS can’t handle them (?!)

You must download and install Node.

Terminal window
npm install
Terminal window
npm run dev

On the server Remix handles building the app by running

Terminal window
npm run build

The build can be run in full with

Terminal window
git pull && npm ci && npm run build && pm2 restart app.config.cjs