Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A fully functional e-commerce website with login, cart, product details, and Stripe/PayPal payments, built with Next.js, React MUI, and Sanity.

Next.js ecommerce starter built as a web programming final exam, using MongoDB, Prisma, Tailwind CSS, and JWT auth.
HotelMart Ecommerce is an open-source, MIT-licensed e-commerce starter built with Next.js, React MUI, Sanity headless CMS, and Stripe/PayPal, providing a fully functional storefront that handles user login, product browsing, cart management, and payment processing. The repository explicitly states that the project is no longer maintained, but the code remains available for anyone building and deploying an online store on Vercel.
HotelMart Ecommerce is a complete e-commerce website template that lets developers deploy a storefront where users can log in, view products, add or delete items from a cart, and pay with Stripe or PayPal. The platform is built on Next.js for server-rendered pages, uses Sanity as a headless CMS for authentication and product management, and is styled with React MUI. The project is hosted on the GitHub account Sumer16 and is distributed under the MIT license, meaning it can be freely modified and reused.
HotelMart Ecommerce is for developers who want a ready-made front end for an e-commerce store and need working authentication, cart, and payment integration. Business owners can use it as a foundation for a custom online store, managing products through Sanity Studio and accepting payments through Stripe and PayPal. It is also useful for students or hobbyists learning how Next.js, headless CMS, and payment APIs fit together in a real application.
For users, the flow is straightforward: log in with a JWT-based account, browse the product catalog, add items to the React Context cart, and process the order through Stripe or PayPal. For developers, setup involves cloning the repository, installing dependencies with npm or yarn, creating a .env file with the required API keys, creating a Sanity project, and running the development server. The README provides a step-by-step guide for each of these stages, including production build and Vercel deployment.
HotelMart Ecommerce is free to use. The source code is released under the MIT license, so there are no licensing fees or subscription tiers.
Yes, HotelMart Ecommerce is open source under the MIT license, so you can use, modify, and distribute it without cost.
The stack is React with Next.js for server-rendered pages, React MUI for styling, Sanity Headless CMS for authentication and product data, and Stripe and PayPal for payments.
Yes, checkout is implemented with both Stripe and PayPal payment APIs, allowing customers to choose their preferred method during payment.
No. The repository explicitly states that the project is no longer maintained, so it will not receive further updates or official support.
Clone the repository, install dependencies using npm install or yarn install, create a .env file with your Sanity project ID, dataset, JWT web secret, Stripe keys, and PayPal client ID, then create a Sanity project and run npm run dev.
