This is a e-commerce application that allows users to browse products, add items to their cart, and place orders. The platform includes user authentication, product management, and order tracking.
- 🛍️ Product Listing – View a wide range of products with details.
- 🔍 Search & Filter – Easily find products using search and category filters.
- 🛒 Shopping Cart – Add, remove, and update items in the cart.
- 👤 User Authentication – Sign up, log in, and manage user profiles.
- 📦 Order Management – Users can place and track their orders.
- 🛠️ Admin Panel – Manage products, users, and orders.
- Frontend: HTML, CSS, EJS
- Backend: Node.js, Express.js
- Database: MongoDB (Mongoose ORM)
- Authentication: JWT
ecommerce-project
│── backend/ # Backend API (Express.js)
│── models/ # Database models (Mongoose)
│── routes/ # API routes
│── public/ # Static assets (CSS, JS, images)
│── views/ # EJS templates
│── .env # Environment variables
│── README.md # Documentation
-
Clone the repository
git clone https://github.com/am4352/ecommerce.git cd ecommerce -
Install dependencies
npm install
-
Set up environment variables
Create a.envfile in the project root and add:MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret -
Run the server
npm start
-
Access the application
- Frontend:
http://localhost:3000 - Backend API:
http://localhost:5000/api
- Frontend:
- Implement payment gateway integration.
- Add real-time chat support.
- Implement AI-driven product recommendations.
- Fork the repository.
- Create a new branch (
feature-branch). - Commit your changes.
- Push to your fork and create a pull request.