A full-stack e-commerce web application built with Node.js, Express.js, MongoDB, and EJS. The platform provides a seamless shopping experience with user authentication, product management, cart functionality, and an admin dashboard.
- User Registration & Login
- Secure Authentication
- Browse Products
- Product Details Page
- Shopping Cart Management
- Quantity Update Controls
- Order Summary
- Responsive UI
- Admin Authentication
- Product Management
- Add New Products
- Edit Existing Products
- Delete Products
- Product Image Upload
- Dashboard Management
- HTML5
- CSS3
- Tailwind CSS
- EJS Templates
- JavaScript
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT Authentication
- bcrypt Password Hashing
- Cookie Parser
- Multer
project-root/
│
├── config/
├── middlewares/
├── models/
├── public/
│ ├── css/
│ ├── images/
│ └── js/
├── routes/
├── views/
│ ├── partials/
│ └── *.ejs
├── app.js
├── package.json
└── vercel.json- Clone the repository
git clone https://github.com/kunalraj1310/e-commerce.git- Navigate to the project directory
cd e-commerce- Install dependencies
npm install- Create a
.envfile
MONGODB_URI=your_mongodb_connection_string
JWT_KEY=your_secret_key
NODE_ENV=development- Start the development server *** the app.listen is in run.js ***
node run.jsor
nodemon run.jsAdd screenshots of:
- Home Page
- Product Listing
- Product Details
- Shopping Cart
- Admin Dashboard
| Variable | Description |
|---|---|
| PORT | Server Port |
| MONGODB_URI | MongoDB Connection String |
| JWT_KEY | JWT Secret Key |
| NODE_ENV | Environment Mode |
- Payment Gateway Integration
- Wishlist Functionality
- Order Tracking
- Product Reviews & Ratings
- Search & Filtering
- Email Notifications
- User Profile Management
Contributions are welcome. Feel free to fork the repository and submit pull requests.
This project is licensed under the MIT License.
Kunal Raj
GitHub: https://github.com/kunalraj1310