README
Editions.dev 2024 workshop on Product APIs - demo application
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.
Quick start
Prerequisites
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.
Setup
If you used the CLI to create the template, you can skip this section.
Using yarn:
yarn install
Using npm:
npm install
Using pnpm:
pnpm install
Local Development
Using yarn:
yarn dev
Using npm:
npm run dev
Using pnpm:
pnpm run dev
Press 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.