Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

💪A gatsbyjs starter to create a Shopify admin app w/ Firebase Functions & Firestore DB

License

Notifications You must be signed in to change notification settings

gil--/gatsby-starter-shopify-app-2

Repository files navigation

Gatsby Start Shopify App

Serverless Shopify App via Netlify Functions & GatsbyJS

Deploy to Netlify

Demo - https://gatsby-starter-shopify-app.netlify.com/

Features

  • ✅ 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}>

Bugs

  • 🐞 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.

TODO - Feel free to make PRs

  • 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?)

About

💪A gatsbyjs starter to create a Shopify admin app w/ Firebase Functions & Firestore DB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages