This repository contains a modified version of the completed app for the Build a Shopify app with Node and React tutorial. The original repo can be found here.
I made a few changes to the code as I walked through the tutorial. The main modifications are:
- Using only React hooks for components
- Modified
package.json
scripts - Simpler
next.config.js
file - Using hooks for Apollo mutations and queries
If you plan to use this completed app, then make sure that you first complete these setup instructions:
- Install the latest stable version of Node.js.
- Install npm packages (run: npm install).
- Expose your dev environment.
- Get a Shopify API key and Shopify API secret key.
- Add the Shopify API key and Shopify API secret key.
- Start your app (run: npm run dev).
- Authenticate and test your app.
- Set up your app navigation.
- Add your ngrok url as Host.