A template for creating node.js Shopify apps.
-
Launch ngrok (ngrok.exe) to tunnel a local port to a public URL (this will allow the dev store to install and run the app) -
ngrok http 3000
. -
Update the app URL in the config to use the one generated by ngrok. Will be something like "http://ac9e0b45.ngrok.io".
-
Launch the app -
node server.js
.
-
Navigate to your app's settings page in the partner services portal.
-
Click 'Edit app settings'.
-
In the 'App URLs' section, modify the domain for the 'App URL' and 'Redirection URL' to use the one generated by your ngrok instance.
-
Click 'Save changes'.
-
Create a Shopify development store so you can install the embedded app.
-
Login to the store with your credentials.
-
Navitage to 'Apps'
https://{my-store}.myshopify.com/admin/apps
. -
Navigate to your app's store listing
https://apps.shopify.com/{my-app}
and click 'Get'. -
If you aren't already logged in, enter the dev store URL and click 'Log In'.
-
Click 'Install app' on the installation page.
-
Click the app link in your store to load the embedded app.
-
Celebrate!
- HMAC verification
- CLI
- Shopify API integration example for EASDK