Skip to content

A MERN stack e-commerce app for supermarkets where users can browse products, add to cart, and place orders, while admins manage inventory and orders via a secure dashboard.

Notifications You must be signed in to change notification settings

Manoj-2040/E-Commerce-SIte-for-Supermarket-using-MERN-Stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛒 Supermarket E‑Commerce Site (MERN Stack)

📌 Project Overview

This is a full‑stack e‑commerce application built using the MERN (MongoDB, Express, React, Node.js) stack. It simulates an online supermarket where users can browse products, add items to cart, place orders, and admins can manage inventory, orders, users, etc.


🧩 Features

Frontend (React)

  • Product listing, filtering, search
  • Product detail pages
  • Shopping cart & checkout
  • User authentication (login, register)
  • Order history & user profile
  • Admin dashboard (manage products, orders, users)

Backend (Node, Express, MongoDB)

  • RESTful APIs for products, users, orders
  • Authentication & authorization (JWT, role-based access)
  • CRUD operations for products, users, orders
  • Data validation & error handling
  • Payment integration (if included)

📁 Project Structure

├── client/              # React frontend
│   ├── public/
│   ├── src/
│   │   ├── components/
│   │   ├── pages/
│   │   ├── context/
│   │   ├── api/
│   │   └── App.js, index.js
│   └── package.json
│  
├── server/              # Backend server
│   ├── controllers/
│   ├── models/
│   ├── routes/
│   ├── middleware/
│   ├── utils/
│   └── server.js, package.json
│  
├── .gitignore
├── package-lock.json
└── README.md

🛠️ Tech Stack & Tools

  • Frontend: React, React Router, Axios, Redux (or Context API)
  • Backend: Node.js, Express
  • Database: MongoDB (Mongoose ORM)
  • Authentication: JWT
  • State & API calls: Axios, Context/Redux
  • Dev Tools: Postman (for API testing), VSCode, nodemon, concurrently

✅ Key Functionalities

  • Product browsing & details
  • Add to cart & checkout flow
  • User login / registration
  • Admin panel for managing data
  • Order tracking & history

🧪 Testing

  • Use Postman / Insomnia to test backend APIs
  • Validate frontend flows: login, add to cart, checkouts, profile
  • Admin operations: add/edit/delete products, view orders

📚 Future Enhancements

  • Integrate real payments (Stripe, Razorpay)
  • Add product reviews & ratings
  • Implement image upload & CDN
  • Improve UI/UX with design frameworks (Tailwind, Material UI)
  • Add search autocomplete, filters, suggestions
  • Deploy to cloud (Heroku, Vercel, AWS)

📬 Contact & Credits


🚀 Why This Project?

This MERN e‑commerce project showcases your ability to build a production‑style web app: full CRUD, authentication, frontend/backend coordination, and modular design. It’s a strong portfolio piece for roles in Full‑Stack, Web Development, and JavaScript.

About

A MERN stack e-commerce app for supermarkets where users can browse products, add to cart, and place orders, while admins manage inventory and orders via a secure dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •