Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Next.js ecommerce starter with Sanity CMS, order/product management, revenue statistics dashboard, and dark/light mode.

Next.js ecommerce starter built as a web programming final exam, using MongoDB, Prisma, Tailwind CSS, and JWT auth.
Ecommerce App is a Next.js ecommerce web application template that pairs a customer storefront with an admin dashboard for managing products, orders, revenue, and client statistics. Published on GitHub by user abdelfetah18, this project uses Sanity.io as the content platform, Tailwind CSS for styling, and JWT authentication via the jose library for Next.js Edge Runtime.
Ecommerce App is a full-stack ecommerce web application built on Next.js, using Sanity.io for the database/content backend and Tailwind CSS for styling. It takes product and order data managed through an admin dashboard and produces a customer-facing storefront with pages for home, my orders, checkout, sign-in, and sign-up, plus a statistics dashboard showing revenue and client metrics. The template runs on Node.js with production build and start commands provided.
Clone the repository, install dependencies, and run npm run build followed by npm run start to start the production server on http://localhost:3000. The app connects to Sanity for data storage and uses JWT middleware for authentication on protected routes.
The template uses Sanity.io, a unified content platform, as its database. The repository includes a database schema screenshot showing the Sanity schema structure.
Authentication is handled with JSON Web Tokens (JWT) using the jose library, which is compatible with Next.js Edge Runtime middleware for route protection.
Tailwind CSS is used for all styling, making the project easier to design and customize with utility classes.
Yes, the app includes a dark/light mode theme switch that changes the entire UI.
