A full-stack E-Commerce web application built using Node.js, Express.js, MongoDB, and JavaScript. The application provides user authentication, product management, shopping cart functionality, and order placement.
- 🔐 User Registration & Login
- 🔑 JWT Authentication
- 🍪 Cookie-based Authentication
- 👤 User Profile
- 🛍️ Product Listing
- ➕ Add to Cart
- ❌ Remove from Cart
- 📦 Place Orders
- 📱 Responsive Frontend
- 🗄️ MongoDB Database Integration
- HTML5
- CSS3
- JavaScript
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT (JSON Web Token)
- Bcrypt
- Cookie Parser
E-Com-main/
│
├── public/
│ ├── assets/
│ ├── javascripts/
│ ├── stylesheets/
│ ├── index.html
│ ├── login.html
│ └── register.html
│
├── protected/
│ ├── cart.html
│ └── profile.html
│
├── src/
│ ├── config/
│ ├── controllers/
│ ├── middleware/
│ ├── models/
│ ├── routes/
│ └── services/
│
├── server.js
├── package.json
└── README.md
git clone https://github.com/your-username/E-Com-main.gitcd E-Com-mainnpm installPORT=3000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_keynode server.jsor with Nodemon
npx nodemon server.js- Register User
- Login User
- Logout User
- Get All Products
- Get Product Details
- Add Product to Cart
- Remove Product from Cart
- Place Order
Add screenshots of:
- Home Page
- Login Page
- Registration Page
- Product Page
- Shopping Cart
- User Profile
- Express
- Mongoose
- Dotenv
- JWT
- Bcrypt
- Cookie Parser
- Nodemon
| Variable | Description |
|---|---|
| PORT | Server Port |
| MONGODB_URI | MongoDB Connection String |
| JWT_SECRET | JWT Secret Key |
- Payment Gateway Integration
- Product Search
- Wishlist
- Product Categories
- Admin Dashboard
- Order History
- Image Upload
- Product Reviews
- Email Verification
Your Name
GitHub: https://github.com/your-username
This project is licensed under the MIT License.