CommerceQL is a minimalist eCommerce GraphQL boilerplate.
You will need to be running the latest version of
prisma and have a Prisma account too.
npm install -g graphql-cli prisma graphql create my-commerce-app --boilerplate commerceql/commerceql cd my-commerce-app npm run dev
The setup above should take care of configuring your
ENV with your Prisma endpoint. You'll want to configure Stripe so you can begin to take payments using the
Go ahead and add your
CommerceQL can be used to build a custom GraphQL backed eCommerce app, without the limitations of hosted solutions.
You can extend the CommerceQL platform by adding additional functions, types and permissions, or you can use it "as is" and start selling
You can immediately deploy "as is" to Zeit Now using the preconfigured
now.json. You'll want to add your
alias to this file for easier deployment.
If you make any changes to the schema or resolvers, you'll want to run
prisma deploy to update your prisma sandbox.
Once you're up and running, locally with
npml run dev or deployed to
now you can start to run the provided queries, mutations and subscriptions.