Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ MERN Stack E-Commerce Website

A full-stack E-Commerce Web Application built using the MERN Stack with separate features for Users and Admin.

but we will expore frontend part here
backend part github link: backend-app

The application provides a complete online shopping experience where users can register, browse products, search and filter products, manage their cart, place orders, and view their order history. The admin panel can manage products, users, orders, and view dashboard statistics.

πŸ“Έ Screenshots

🏠 Home Page

Home Page

πŸ›οΈ Products Page

Products Page

πŸ›’ Cart Page

Cart Page

πŸ’³ Checkout Page (shipping)

Checkout Page

πŸ’³ Checkout Page (confirm order)

Checkout Page

πŸ’³ Checkout Page (payment)

Checkout Page

πŸ‘€ User Dashboard (profile)

User Dashboard

πŸ‘€ User Dashboard (change password)

User Dashboard

πŸ‘€ User Dashboard (orders)

User Dashboard

πŸ” Login Page

Login Page

πŸ“ Register Page

Register Page

πŸ› οΈ Admin Dashboard

Admin Dashboard

πŸ“¦ Admin Product Management

Product Management

πŸ‘₯ Admin User Management

User Management

🚚 Admin Order Management

Order Management

πŸ“Œ Project Overview

This project is a complete e-commerce platform with two main sections:

  • πŸ‘€ User Panel
  • πŸ› οΈ Admin Panel

The frontend is developed using React.js, while the backend uses Node.js and Express.js. MongoDB is used as the database.

✨ Features

πŸ‘€ User Features

  • User Registration
  • User Login / Logout
  • Secure Authentication
  • Home Page
  • Product Listing
  • Product Filtering
  • Product Sorting
  • Product Details
  • Add Product to Cart
  • Remove Product from Cart
  • Increase Product Quantity
  • Decrease Product Quantity
  • Cart Total Calculation
  • Three-Step Checkout
    1. Add Delivery Address
    2. Confirm Order and Price
    3. Select Payment Method / Cash on Delivery
  • Order Placement
  • Order History
  • User Dashboard
  • Profile Management
  • About Us Page
  • Contact Us Page
  • Responsive User Interface

πŸ› οΈ Admin Features

  • Admin Login
  • Admin Dashboard
  • Dashboard Statistics
  • Add Product
  • Edit Product
  • Update Product
  • Delete Product
  • Product Image Upload
  • Product Management
  • User Management
  • Edit Users
  • Delete Users
  • Order Management
  • View Orders
  • Update Order Status
  • View Reports

πŸ—οΈ Technology Stack

Frontend

  • React.js
  • React Router DOM
  • Redux Toolkit
  • React Redux
  • Axios
  • Tailwind CSS
  • React Hook Form
  • React Icons
  • Chart.js
  • React Chart.js 2

Backend

  • Node.js
  • Express.js
  • Mongoose
  • JSON Web Token (JWT)
  • bcryptjs
  • CORS
  • Cookie-parser
  • Crypto

Database

  • MongoDB

Tools

  • Visual Studio Code
  • Git
  • GitHub
  • Postman
  • MongoDB Compass

πŸ“‚ Project Structure

e-commerce/
β”‚
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ public/
β”‚   └── src/
β”‚       β”œβ”€β”€ components/
β”‚       β”œβ”€β”€ pages/
β”‚       β”œβ”€β”€ store/
β”‚       β”œβ”€β”€ protectedRoutes/
β”‚       β”œβ”€β”€ assets/
β”‚       β”œβ”€β”€ App.jsx
β”‚       └── main.jsx
β”‚       └── README.md
β”œβ”€β”€ backend/
    β”œβ”€β”€ config/
    β”œβ”€β”€ controllers/
    β”œβ”€β”€ middleware/
    β”œβ”€β”€ models/
    β”œβ”€β”€ routes/
    β”œβ”€β”€ utils/
    β”œβ”€β”€ app.js
    └── server.js
    └── README.md

πŸ” Security

The project includes:

  • Password hashing using bcryptjs
  • JWT-based authentication
  • Protected routes
  • Admin authorization
  • Cookie-based authentication where implemented
  • CORS configuration
  • Input validation
  • Secure API access

βš™οΈ Installation and Setup

1. Clone the Repository

git clone https://github.com/sachinwebdev369/frontend-app.git
cd frontend-app

2. Frontend Setup

Open a new terminal:

cd frontend
npm install
npm run dev

⭐ Support

If you find this project useful, consider giving the repository a ⭐ on GitHub.

About

this is frontend source code of ecommerce website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages