Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
e-commerce PoC built with NextJS, TypeScript, ChakraUI, Zustand and Contentful API for content delivery.

Next.js ecommerce starter built as a web programming final exam, using MongoDB, Prisma, Tailwind CSS, and JWT auth.
NextJS Ecommerce PoC is an open-source e-commerce proof-of-concept built with Next.js, TypeScript, ChakraUI, Zustand, and the Contentful API for content delivery. It demonstrates a complete storefront front-end: a product grid of digital artwork, add-to-cart interactions, a header cart badge with dropdown, dynamic pagination, sorting, and filtering—all driven by a headless CMS.
NextJS Ecommerce PoC is a front-end e-commerce proof of concept that takes product entries from a Contentful CMS collection and renders them as an interactive storefront. It runs on Next.js and TypeScript, uses ChakraUI for UI components, Zustand for client-side state management, and react-paginate for pagination. The repository includes a live demo deployed to Vercel at https://nextjs-ecommerce-poc.vercel.app/.
Run the project locally with npm i followed by npm start, as stated in the repository's instructions. The application expects a Contentful API configuration to fetch product entries; without it, you'll need to supply your own Contentful space and access token.
Install dependencies with npm i and start the development server with npm start, as stated in the repository instructions.
Contentful, via its API. Product entries are stored in a Contentful collection and delivered to the storefront using the Contentful API.
The product grid shows six items per page using react-paginate. The page count is generated dynamically from the product data, and the pagination list is hidden when there is only one results page.
Each Contentful entry contains name, category, price, currency, image (with src and alt), bestseller, featured, and details (dimensions, size, description). This schema is shown in the repository README.
