An open API service indexing awesome lists of open source software.

https://github.com/amalkrishnanvp/e-commerce-application

A full-stack e-commerce application with product browsing, cart management, and admin dashboard using Node.js, Express, MongoDB, Handlebars, Tailwind CSS, and JavaScript.
https://github.com/amalkrishnanvp/e-commerce-application

backend express full-stack handlebars mongodb nodejs rest-api tailwindcss

Last synced: 2 months ago
JSON representation

A full-stack e-commerce application with product browsing, cart management, and admin dashboard using Node.js, Express, MongoDB, Handlebars, Tailwind CSS, and JavaScript.

Awesome Lists containing this project

README

          

# ๐Ÿ›’ E-Commerce Application

A full-stack e-commerce web application built using Node.js, Express.js, MongoDB, Handlebars (hbs), and Tailwind CSS. This platform allows users to browse products, manage their cart, make payments using Razorpay, and enables admins to manage products and orders through a dedicated dashboard.

---

## ๐Ÿ“ธ Screenshots

| Home Page | Product Page |
|-----------|--------------|
| ![Home](./frontend/public/images/home.png) | ![Product](./frontend/public/images/product.png) |

---

## ๐Ÿš€ Features

- ๐Ÿงพ Product listing by categories
- ๐Ÿ” User authentication & authorization
- ๐Ÿ›’ Add to cart & manage cart items
- ๐Ÿ’ณ Razorpay payment gateway (Online and COD)
- ๐Ÿ‘จโ€๐Ÿ’ป Admin dashboard for managing products & orders
- ๐Ÿ“ฑ Responsive design with Tailwind CSS
- ๐ŸŒ Clean and SEO-friendly routing using Handlebars

---

## ๐Ÿ› ๏ธ Technologies Used

### Frontend
- HTML
- CSS
- JavaScript
- Tailwind CSS
- Handlebars (hbs)

### Backend
- Node.js
- Express.js

### Database
- MongoDB
- Mongoose

### Payment Integration
- Razorpay

---

## ๐Ÿ“ฆ Installation & Setup

> Make sure you have Node.js and MongoDB installed locally.

### 1. Clone the repository

```bash
git clone https://github.com/yourusername/e-commerce-app.git
cd e-commerce application
```

### 2. Install dependencies
```bash
npm install
```

### 3. Create a .env file
```bash
PORT=3000
MONGODB_URI=mongodb://localhost:27017/ecommerce
RAZORPAY_KEY_ID=your_key_id
RAZORPAY_KEY_SECRET=your_key_secret
SESSION_SECRET=your_session_secret
```

### 4. Start the server
```bash
npm run start
```

### ๐Ÿ”— Live Demo
https://e-commerce-application-backend-a074.onrender.com

### ๐Ÿ“„ License
This project is licensed under the MIT License.