This is mean to give realistic example of how to take advantage of Shopify's latest APIs to support 2000 variants.
During the workshop, we'll walk through how to convert the REST API calls in this project to GraphQL. Afterwards, we'll publish a branch with the GraphQL changes, for reference.
Before you begin, you'll need the following:
- Node.js: Download and install it if you haven't already.
- Shopify Partner Account: Create an account if you don't have one.
- Test Store: Set up either a development store or a Shopify Plus sandbox store for testing your app. It's recommended to setup a shop using the
Extended Variantsdeveloper preview.
If you used the CLI to create the template, you can skip this section.
Using yarn:
yarn installUsing npm:
npm installUsing pnpm:
pnpm installUsing yarn:
yarn devUsing npm:
npm run devUsing pnpm:
pnpm run devPress P to open the URL to your app. Once you click install, you can start development.
Local development is powered by the Shopify CLI. It logs into your partners account, connects to an app, provides environment variables, updates remote config, creates a tunnel and provides commands to generate extensions.