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 (?!)
Prerequisites
Section titled “Prerequisites”You must download and install Node.
npm installLocal Development
Section titled “Local Development”npm run devDeploy & Build
Section titled “Deploy & Build”On the server Remix handles building the app by running
npm run buildThe build can be run in full with
git pull && npm ci && npm run build && pm2 restart app.config.cjs