Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
This document provides a guide to setting up and running a fully-fledged eCommerce demo store using the Commerce.js SDK and Next.js. It offers instructions for both one-click deployment using Netlify and manual setup. Prerequisites for using this template include having an IDE or code editor, Node, NPM or Yarn, and the Chec CLI.
yarn global add @chec/cliNote: Using the provided public key is recommended for quick deployment, but if you want to use your merchant account, follow the manual setup steps below.
.env.example file at the root of the project with your Chec public key.This document provides a comprehensive guide to setting up and running an eCommerce demo store using Commerce.js and Next.js. It offers both one-click deployment options and manual setup instructions. The template supports various eCommerce features such as shopping carts, checkout process, customers, and payment gateways.
Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.
Ecommerce websites sell products or services to customers through an online storefront. These websites typically include features such as product listings, shopping carts, payment processing, and order management tools.
ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.
Netlify is a cloud-based web development platform that provides a range of tools and services to help developers build, deploy, and manage modern web applications. It offers features such as continuous deployment, serverless functions, and CDN hosting, making it an ideal platform for building fast, scalable, and secure websites.
Redux is a state management library for JavaScript apps that provides a predictable and centralized way to manage application state. It enables developers to write actions and reducers that update the state in response to user interactions, server responses, and other events, and can be used with a variety of front-end frameworks and back-end technologies.