Skip to content

M-Subhan-Ali/-Mern_Kart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

41 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›’ MERN KART

MERN KART is a modern e-commerce platform built with the MERN stack for the backend and Next.js for the frontend.
It supports both buyers and sellers, allowing users to create accounts, list products, browse items, and manage carts.
The project is styled with Tailwind CSS and does not use Redux โ€” instead, it uses clean state management with Context/API integration.


๐Ÿš€ Features

  • ๐Ÿ‘ค User Authentication & Roles
    • Register/login as buyer or seller
    • Secure JWT-based authentication
  • ๐Ÿฌ Seller Features
    • Create and manage products
    • Upload product details (title, description, price, images, category)
  • ๐Ÿ›๏ธ Buyer Features
    • Browse and search products
    • Add/remove/update items in cart
    • Checkout flow (future scope: orders & payments)
  • ๐Ÿ›’ Cart Management
    • Add products to cart
    • Update quantities
    • Clear/remove items
  • ๐ŸŽจ Modern UI
    • Responsive design built with Tailwind CSS
    • Clean product cards, forms, and dashboards
  • โšก Next.js Frontend
    • Server-side rendering (SSR) & routing
    • Optimized performance
  • ๐Ÿ—„๏ธ MERN Backend
    • Express API with MongoDB (Mongoose)
    • Models: User, Product, Cart

๐Ÿ› ๏ธ Tech Stack


๐Ÿ“‚ Models

๐Ÿง‘ User Model

  • Name, Email, Password (hashed)
  • Role: buyer | seller
  • Account management fields

๐Ÿ“ฆ Product Model

  • Title, Description, Price, Images
  • Category
  • Stock

๐Ÿ›’ Cart Model

  • User reference
  • Product references
  • Quantity, subtotal

About

Mern Kart๐Ÿ›’ is a modern e-commerce platform built with the MERN stack for the backend and Next.js for the frontend. It supports both buyers and sellers, allowing users to create accounts, list products, browse items, and manage carts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors