Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Modern e-commerce storefront built with Next.js, Hygraph CMS, GraphQL, Stripe, and Tailwind CSS.

Next.js ecommerce starter built as a web programming final exam, using MongoDB, Prisma, Tailwind CSS, and JWT auth.
Next-Shop is an open-source e-commerce storefront template built on Next.js that demonstrates a production-oriented headless commerce architecture using Hygraph CMS, GraphQL, Stripe payments, and a database-backed shopping cart.
Next-Shop is a full storefront starter built with the Next.js App Router, server components, server actions, and HTTP streaming. It fetches product data from Hygraph CMS through GraphQL and processes payments via Stripe, producing a complete catalog, cart, and checkout experience. The project is available as a public GitHub repository with a live demo deployed to Vercel.
Web developers building headless e-commerce stores with Next.js can use Next-Shop as a reference for combining server components, server actions, streaming, and optimistic UI in one codebase. Freelancers and agencies can fork the repository to deliver a customized storefront to clients who need CMS-managed products and Stripe checkout. Store owners can launch a modern store using Hygraph's dashboard to manage products and rely on the database-backed cart for conversion analytics.
Next-Shop fetches product and category data from Hygraph CMS via GraphQL directly inside server components. Product pages and category archives render on the server and stream to the client using Suspense. When a shopper changes cart quantity or adds an item, a Next.js server action handles the database mutation with optimistic UI updates, and Stripe handles payment when the checkout flow is triggered.
Yes, Next-Shop fetches product and category content from Hygraph CMS using GraphQL. The README lists Hygraph as the content source, and the project uses GraphQL Code Generator to create type-safe queries from the Hygraph schema.
Yes, the template includes an integration with the Stripe payment provider. Checkout is processed through Stripe, while the cart itself is stored in a database.
Yes, a live demo is deployed at https://next-shop-gp.vercel.app/. There is also a Storybook documentation site at https://next-shop-gp-storybook.vercel.app/, though the README notes it is outdated and no longer maintained.
It is positioned as a "modern storefront" and includes several production-oriented features like server actions, streaming, optimistic cart updates, and Vercel Cron cleanup. However, the repository's to-do list indicates that unit tests, E2E tests, internationalization, and a contact form are still missing, so it should be evaluated against your specific requirements.
The project uses the App Router, server components, server actions, intercepting and parallel routes (cart currently disabled due to bugs), HTTP streaming with Suspense, and API routes for generating OG images.
