Skip to content

Ritinpaul/MERN-Ecommerce-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ MERN E-commerce Website

A fully functional E-commerce platform built using the MERN stack (MongoDB, Express.js, React.js, Node.js), supporting features such as user authentication, product listings, shopping cart, order management, and admin capabilities.


πŸš€ Features

  • πŸ” User Authentication: Register, login, and role-based access (admin & user).
  • πŸ›οΈ Product Management: Add, update, and delete products with categories.
  • πŸ“¦ Order System: Place orders, view order history, and update status.
  • πŸ—ƒοΈ Category Management: Admins can create and manage categories.
  • πŸ“€ Image Upload: Upload product images using the Upload API.
  • βš™οΈ RESTful APIs: Well-structured and scalable API design.
  • πŸ”„ Frontend + Backend: Built as a full-stack application with clear separation.

🧱 Tech Stack

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JWT
  • State Management:Redux
  • Styling: Tailwind CSS / CSS Modules

πŸ› οΈ Getting Started

1. Clone the repository

git clone https://github.com/ritinpaul/MERN-Ecommerce-Website.git
cd MERN-Ecommerce-Website

2. Install dependencies for backend

cd backend
npm install

3. Setup Environment Variables

Create a .env file in the backend/ directory:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
PORT=5000

4. Start the backend server

npm run dev

The backend server will start at http://localhost:5000.

5. (Optional) Start the frontend

If you have a frontend/ folder:

cd ../frontend
npm install
npm start

πŸ§‘β€πŸ’» Author

Ritinpaul Singh
Full-stack MERN Developer
GitHub


πŸ“„ License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages