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.
- π 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.
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT
- State Management:Redux
- Styling: Tailwind CSS / CSS Modules
git clone https://github.com/ritinpaul/MERN-Ecommerce-Website.git
cd MERN-Ecommerce-Website
cd backend
npm installCreate a .env file in the backend/ directory:
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
PORT=5000npm run devThe backend server will start at http://localhost:5000.
If you have a frontend/ folder:
cd ../frontend
npm install
npm startRitinpaul Singh
Full-stack MERN Developer
GitHub
This project is licensed under the MIT License.