0.0.7 • Published 2 years ago

create-shop-app v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

WIP | create-shop-app

npx create-shop-app@latest

A CLI tool to generate custom Shopify app boilerplate code with the following choices:

Database

Query

Billing API

Package Manager

Language

Why

I personally prefer @apollo/client and MongoDB to write my Shopify apps but there are times when I want to build apps with a SQL database, or maybe use React Query because the project was outsourced to us. Maintaining multiple repos isn't really easy, infact maintaining kinngh/shopify-node-express-mongodb-app is a lot of work in itself but I have really great feedback from engineers on this. So I went ahead and created a CLI tool to generate boilerplate code that allows you to choose your stack.

The entire CLI is built in a way to make it as easy as possible to generate your own boilerplate with a decent range of options.

Notes

  • Setup for setting up the CLI. To generate code, use npx create-shop-app@latest instead.
  • There is always something that can be made better, please open an Issue, Discussion or reach out to me on @kinngh on Twitter.
  • The CLI uses my kinngh/shopify-node-express-mongodb-app repo as a base and swaps out tech based on choices and is opinionated.
  • I recommend using kinngh/shopify-node-express-mongodb-app to open issues related to the base template since that's what is being used.
    • Issues here should only be around the CLI. Non-CLI issues will be closed without possible resolution.