A scalable and performant e-commerce platform built for modern deployment using Next.js and Vercel. Designed with clean architecture, responsive UI, and real-time features.
- ⚡ Optimized for Vercel: Fully serverless and production-ready with Next.js API routes and ISR.
- 🌐 Next.js 14: App router, server components, and edge-optimized APIs.
- 🎨 Modern UI: Built with TailwindCSS + shadcn/ui components.
- 🧠 MongoDB: Scalable document database for user, product, cart, and order management.
- 📱 Responsive Design: Mobile-first and adaptive layout.
The following diagram illustrates the data structure for users, products, carts, orders, and related collections:
- Frontend: Next.js (App Router), TailwindCSS, Shadcn UI
- Backend: Serverless Functions (API routes)
- Database: MongoDB (via Mongoose)
- Hosting: Vercel (Edge-optimized)
User,Cart,Product,Discount,ProductSpecificationWishlist,Order,OrderProduct,ReviewCustomChat,RateLimitLog,Message
- All relationships are modeled using references or embedded schemas depending on read/write patterns.
- Wishlist is many-to-many between users and products.
- Cart contains embedded product snapshots.


