https://github.com/rayan2104/shopify-node
An embedded Shopify app starter template made with Node, Express, React and Vite, with all the required stuff hooked up.
https://github.com/rayan2104/shopify-node
boilerplate shopify shopify-api shopify-app shopify-app-node shopify-app-node-mongodb shopify-apps
Last synced: 2 months ago
JSON representation
An embedded Shopify app starter template made with Node, Express, React and Vite, with all the required stuff hooked up.
- Host: GitHub
- URL: https://github.com/rayan2104/shopify-node
- Owner: rayan2104
- License: mit
- Created: 2025-10-17T16:36:43.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-17T16:38:35.000Z (8 months ago)
- Last Synced: 2025-10-18T19:04:53.123Z (8 months ago)
- Topics: boilerplate, shopify, shopify-api, shopify-app, shopify-app-node, shopify-app-node-mongodb, shopify-apps
- Language: JavaScript
- Homepage:
- Size: 518 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shopify Node.js x Express.js x React.js Boilerplate
An embedded app starter template to get up and ready with Shopify app development with JavaScript. This is heavily influenced by the choices Shopify Engineering team made in building their [starter template](https://github.com/Shopify/shopify-app-template-node) to ensure smooth transition between templates.
I've included [notes](/docs/NOTES.md) on this repo which goes over the repo on why certain choices were made.
I also did make a video going over the entire repo.
[](https://www.youtube.com/watch?v=iV_3ENCraaM)
## Supporting repositories
- [`@rayan2104/shopify-nextjs-prisma-app`](https://github.com/rayan2104/shopify-nextjs-prisma-app): A Shopify app boilerplate built with Next.js and Prisma ORM, with deployments available on Vercel.
- [`@rayan2104/shopify-polaris-playground`](https://github.com/rayan2104/shopify-polaris-playground): Build your app's UI using Polaris, without an internet connection.
## Tech Stack
- React.js
- `raviger` for routing.
- Express.js
- MongoDB
- Vite
- Ngrok
## Why I made this
The Shopify CLI generates an amazing starter app but it still needs some more boilerplate code and customizations so I can jump on to building apps with a simple clone. This includes:
- MongoDB based session and database management.
- Monetization (recurring subscriptions) ready to go.
- Webhooks isolated and setup.
- React routing taken care of (I miss Next.js mostly because of routing and under the hood improvements).
- Misc boilerplate code and templates to quickly setup inApp subscriptions, routes, webhooks and more.
## Notes
### Setup
- Refer to [SETUP](/docs/SETUP.md)
- Migrations are available in [DOCS](/docs/migrations/)
- Setting up [Polaris WebComponents](/docs/POLARIS_WC.md)
### Misc
- Storing data is kept to a minimal to allow building custom models for flexibility.
- Session persistence is also kept to a minimal and based on the Redis example provided by Shopify, but feel free to modify as required.