All Projects → chec → commercejs-chopchop-demo

chec / commercejs-chopchop-demo

Licence: BSD-3-Clause license
A Commerce.js starter kit for Next.js. A beautifully designed elegantly developed, end to end commerce experience for developers and agencies. Pre-integrated with Stripe. One-click deploy to Vercel.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to commercejs-chopchop-demo

commercejs-nextjs-vercel
Serverless eCommerce demo store built for the Jamstack. Built with Commerce.js, Next.js and can be one click deployed to Vercel. Includes product catalogue, categories, variants, cart, checkout, order confirmation and printable receipts. This is an open source project.
Stars: ✭ 68 (-47.29%)
Mutual labels:  commerce, jamstack, demo-store, vercel
Commerce.js
Open source, JS eCommerce SDK for building headless, Jamstack applications. Build custom storefronts, carts, and checkouts in any frontend framework, platform, or device. Integrates with Stripe, Square, PayPal, Paymill and Razorpay with support for 135+ currencies.
Stars: ✭ 112 (-13.18%)
Mutual labels:  commerce, stripe, jamstack
Ecommerce Netlify
🛍 A JAMstack Ecommerce Site built with Nuxt and Netlify Functions
Stars: ✭ 1,147 (+789.15%)
Mutual labels:  stripe, jamstack
saleor
A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.
Stars: ✭ 15,824 (+12166.67%)
Mutual labels:  commerce, headless-commerce
Commercejs Nextjs Demo Store
Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
Stars: ✭ 737 (+471.32%)
Mutual labels:  commerce, jamstack
ember-stripe-elements
A simple Ember wrapper for Stripe Elements.
Stars: ✭ 64 (-50.39%)
Mutual labels:  stripe, stripe-elements
Api
🏁🛠️ SaaS backend & API framework based on @nestjs
Stars: ✭ 390 (+202.33%)
Mutual labels:  stripe, starter-kit
grammer-blog
My personal blog about programming or random stuff. Made using Vue JS 2 and Gridsome as a jamstack framework for Vue JS. Hosted on vercel
Stars: ✭ 14 (-89.15%)
Mutual labels:  jamstack, vercel
netlify-stripe-subscriptions
An example of managing subscriptions with the Stripe Customer Portal and Netlify Identity.
Stars: ✭ 96 (-25.58%)
Mutual labels:  stripe, jamstack
react-stripe-script-loader
A React Component that loads Stripe script if necessary and shows React Stripe Elements
Stars: ✭ 22 (-82.95%)
Mutual labels:  stripe, stripe-elements
Saleor
A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.
Stars: ✭ 14,720 (+11310.85%)
Mutual labels:  commerce, headless-commerce
exo
EXO, the empathy-first framework for an accessible world.
Stars: ✭ 75 (-41.86%)
Mutual labels:  jamstack, vercel
cypress-plugin-stripe-elements
A small Cypress plugin that assists you in filling in Stripe Elements inputs
Stars: ✭ 22 (-82.95%)
Mutual labels:  stripe, stripe-elements
Penny-Seed
PennySeed is an alternative crowdfunding platform where the funding goal is divided by the number of pledgers
Stars: ✭ 18 (-86.05%)
Mutual labels:  stripe, stripe-elements
Checkout Netlify Serverless
Sell products on the Jamstack with Netlify Functions and Stripe Checkout!
Stars: ✭ 58 (-55.04%)
Mutual labels:  stripe, jamstack
nuxt-stripejs
💳 NuxtJS module for Stripe.js which loads only when required and w/ retry mechanism
Stars: ✭ 17 (-86.82%)
Mutual labels:  stripe, stripe-elements
netlify-lambda-function-example
An example Netlify Lambda function that processes payments with Stripe.
Stars: ✭ 93 (-27.91%)
Mutual labels:  stripe, jamstack
payment-form-modal
How to implement Stripe Elements within a modal dialog.
Stars: ✭ 108 (-16.28%)
Mutual labels:  stripe, stripe-elements
teini
👶 Teini (tiny, [ˈtīnē]) is an extremely small webshop leveraging awesome and free solutions like Github and Vercel.
Stars: ✭ 148 (+14.73%)
Mutual labels:  stripe, vercel
react-elements-netlify-serverless
Digital Wallet payments with React Stripe Elements and Netlify Functions
Stars: ✭ 21 (-83.72%)
Mutual labels:  stripe, jamstack

A Next.js, Commerce.js, Stripe, and Vercel powered, open source storefront, cart and checkout experience.

License
commercejs.com | @commercejs | Slack

View demo

View demo

Introduction

ChopChop is our beautifully designed, elegantly developed demo store and starter kit that sells fine tools for thoughtful cooks. We’ve created a premium brand with a commerce experience to match. Read more about this resource on the Commerce.js blog.

🥞 ChopChop Stack

Live demo

Check out https://commercejs-chopchop-demo.vercel.app to see this project in action.

Getting started

Prerequisites

  • IDE or code editor of your choice
  • Node (v12 or higher)
  • NPM or Yarn
  • Optional: Chec CLI

Use the Chec CLI

You can use the Chec CLI to quickly and easily install demo stores like this, and also to install sample data into your account. To install the Chec CLI, run npm install -g @chec/cli (or yarn global add @chec/cli).

  • Navigate to your projects folder: cd ~/Projects
  • Install the ChopChop demo store: chec demo-store
    • Choose "Chop Chop demo store (Next.js)" from the list
    • This will install dependencies and sample data, then start your dev server
    • Stop the server, open .env and add your NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY for using Stripe, then re-run npm run dev
  • Open http://localhost:3000 and get started!

Manual installation

Clone the project, then get started by installing the dependencies, creating a .env file, and starting the dev server.

npm install
cp .env.example .env
npm run dev

Once the server is running, open it up in your browser, start editing the code, and enjoy!

Sample data

This repository comes with some sample products and images for you to use if you want to get up and running quickly.

To install sample data, first copy .env.example to .env, then edit .env and fill out the following variables:

  • NEXT_PUBLIC_CHEC_PUBLIC_API_KEY: Your Chec public/sandbox API key, available from the Chec Dashboard under Developers > API keys
  • NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: Your Stripe test publishable key, available from the Stripe dashboard
  • CHEC_SECRET_KEY: Your Chec secret API key, used for seeding
  • NEXT_PUBLIC_GA_TRACKING_ID: Set this with your Google Analytics ID if you want to enable GA.

Once this is done, save and close your file. You can now run the seeder to install sample data:

npm run seed
...
✔ Completed seeding
Added:
  3 categories
  6 products
  9 assets

And you're ready to go!

Deploying to Vercel (with one click)

The one-click deploy allows you to add the Vercel application to your GitHub account to clone this repository and deploy it automatically. Be sure to go to Vercel and sign up for an account with Github, GitLab, or GitBucket before clicking the deploy button.

Deploy with Vercel

Please make sure that you enter the required environment variables listed above during deployment.

Caveats for sample data

To make your ChopChop experience even better, there are a couple of things you can do that are not included with the sample data:

  • Add related products: Go into the Chec Dashboard and set related products for each of your new products. This helps to provide upsell suggestions on your website.
  • Set up shipping rates: Also in the dashboard, set up some shipping zones and rates in Settings > Shipping, then enable them on each of your products. This will enable the "Shipping" checkout screen, and allow you to charge shipping for your customers as well.

Customizations and Extendability

  • Integrate another payment gateway, either one of our supported gateways or your own with our manual gateway API
  • Integrate with the Google Calendar API to automatically add ticketed items to a customer’s calendars
  • Suggest products from other sources based on items purchased, i.e. a book on knife skills if you buy the knife set
  • Add Algolia for integrated search
  • Add additional modules to the checkout flow to handle other content types, like booking a time to pickup in-store purchases
  • Integrate with a headless CMS to make the content editable
  • Create a customers login section using our customers endpoint
  • Use webhooks to deliver SMS notifications about orders

License

This project is licensed under BSD-3-Clause.

⚠️ Note

This repository is no longer maintained

However, we will accept issue reports and contributions for this repository. See the contribute to the commerce community page for more information on how to contribute to our open source projects. For update-to-date APIs, please check the latest version of the API documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].