This project is a full-stack e-commerce platform that allows users to browse products, add items to their cart, and securely make purchases. Admins can manage product inventories, view orders, and perform other administrative tasks via a dedicated admin panel.
-
User Functionality:
- Browse and search for products.
- Add products to a shopping cart and proceed to checkout.
- Secure authentication and authorization for user accounts.
-
Admin Panel:
- Add, update, and delete product listings.
- View and manage customer orders.
-
Responsive Design:
- Fully responsive UI built with React and CSS for seamless performance across devices.
- Frontend: React, CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- API Development: REST APIs
- Tools: Git, Postman
Ensure you have the following installed:
- Node.js
- MongoDB
- Git
- Clone the repository:
https://github.com/FahithKRM/E-commerce---MERN.git
- Install dependencies for both the frontend and backend:
npm install
- Configure environment variables:
MONGO_URI=<your_mongo_database_url> JWT_SECRET=<your_jwt_secret>
- Start the development server for backend and frontend:
cd server npm run dev
cd client npm run dev
cd admin npm run dev
- Access the website on
http://localhost:5000
. - Admins can log in to the admin panel to manage products and orders.
- Designed and implemented a responsive UI/UX with React and CSS.
- Built a secure and scalable backend with Node.js and Express.js.
- Integrated REST APIs for seamless frontend-backend communication.
- Managed database operations with MongoDB.
- Enhanced debugging and API testing using Postman.