finds.dev

chec/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, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.

View on GitHubHomepage ↗

★ 1,071JavaScriptBSD-3-Clauseupdated Jan 2024

// the take

A full-featured headless storefront built on Commerce.js v2 and Next.js, meant as a reference implementation and quickstart for the Chec/Commerce.js platform. It covers the full purchase flow: catalog, variants, cart, checkout with Stripe, customer login, and order history. This is a vendor showcase, not a general-purpose ecommerce starter.

The scope is genuinely complete for a demo — variants, discounts, shipping methods, customer auth, and Stripe are all wired up, not stubbed. The one-click Netlify deploy with pre-seeded data means someone can have a working store in front of them in under five minutes. State management is done with Redux in a straightforward way that's easy to follow. The seed data tooling is a nice touch — you can see exactly what inventory shape the app expects.

This is locked to Commerce.js v2, which is an older SDK version, and the last commit was January 2024 — there's no indication it tracks upstream SDK changes. The category images are hardcoded to filenames under public/images/collection, so swapping in your own inventory without modifying source code is genuinely painful. Bootstrap 4-era SASS for styling means you're carrying a heavyweight dependency for what amounts to a demo skin. The Redux setup is also heavier than warranted for this scope — React context or Zustand would halve the boilerplate without losing anything.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,071
Forks
209
Language
JavaScript
License
BSD-3-Clause
Last commit
29 Jan 2024

// nearby

If commercejs-nextjs-demo-store isn't quite it.

All repos →