finds.dev← search

// the find

chec/commercejs-nextjs-demo-store

★ 1,071 · JavaScript · BSD-3-Clause · updated Jan 2024

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.

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.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →