- INSTALL -
npm install
- Add credentials - Create a .env.local adding in the keys as required.
- Add details to your app in partners
- --> app url = https://ngrok.domain/api/auth
- --> whitelist = https://ngrok.domain/
- start ngrok - I have an npm script
npm run ngrok:leigh
add one or start manually. Remember to update the app url in your .env.local npm run dev
APP_URL=https://some.ngrok.domain
SHOPIFY_API_VERSION=2021-07
SHOPIFY_APP_KEY=KEY_HERE
NEXT_PUBLIC_SHOPIFY_APP_KEY=KEY_HERE
SHOPIFY_APP_SECRET=SECRET_HERE
SHOPIFY_APP_SCOPES=read_content,write_content,read_themes,write_themes,read_products,write_products,read_script_tags,write_script_tags,read_locales,write_locales,read_translations,write_translations
MONGO_DB_CONNECTION_STRING=ADD_CONNECTION_STRING
MONGO_DB_DATABASE=decoupled-staging
MONGO_DB_DATABASE_ROOT=stores