- Make sure you are on Node version >=20.
- Install the Shopify CLI on your local machine globally with
npm install -g @shopify/cli@latest
- Install dependencies with
npm install
. - Create a MySQL database and provide the URL to an
.env
file in the top level of the directory (as shown in the.example.env
). - Generate Prisma artifacts and push migrations with
npm run prisma migrate dev
(ornpm run setup
). - Run the command
npm run config:link
. You will be asked to login to your Partner account and create a new app to link to this codebase. You will be able to see the changes on your app's configuration file (shopify.app.toml
). - Run the development environment with
npm run dev
. You will be asked to choose a development store from your Partner account to preview the app. Afterwards you will be prompted to update your app's URL automatically, where you can choose 'Yes'. - Whenever you add new GraphQL queries in your Remix app, make sure to name them and then run
npm run graphql-codegen
. This will simplify the experience with response data types. - Whenever you add new routes in your app, make sure to name them like
app.{url}.tsx
. You can also add them to the app navigation menu as aLink
, through theNavMenu
component in the fileapp.tsx
.
-
Notifications
You must be signed in to change notification settings - Fork 1
think-plus/draft-app-starter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published