Serverless Shopify App via Netlify Functions & GatsbyJS
Demo - https://gatsby-starter-shopify-app.netlify.com/
- ✅ Serverless via Netlify Functions
- ✅ GatsbyJS Client
- ✅ Ability to Install App
- ✅ Shopify Polaris for UI
- ✅ Custom Link Component to work with Gatsby Link (avoid page refresh and use React Router)
- ✅ Prevent force redirect to Shopify admin iframe if in develop mode
<AppProvider forceRedirect={false}>
- 🐞 Rework serverless re-auth logic to use async/await instead of redirection. Should just return a JSON response instead of all the redirections for re-auth since no callback is needed.
- Add recurring billing support for paid apps
- Propagate url changes to browser url bar with
@shopify/react-shopify-app-route-propagator
or custom library. - Add Firebase RTDB to store installed stores and billing status via Netlify Functions? Or Firebase Functions...
- Add Settings/Preferences page example and hook up to Firebase
- Add Webhook example via Netlify functions
- publish to npm
- Needs more cross-browser testing
- Improve app security (XSS?)