Skip to content

This is a comprehensive eCommerce platform built using Node.js and Express.js for the backend, with core HTML, CSS, and JavaScript for the frontend. The project follows the MVC architecture and implements a Role-Based Access Control (RBAC) design pattern. It also includes integration with a payment gateway to facilitate online transactions.

Notifications You must be signed in to change notification settings

Talib8335/Ecommerce-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Ecommerce Project

mockuper

This is a basic eCommerce platform project that follows the MVC architecture and implements a Role-Based Access Control (RBAC) design pattern. It also includes integration with a payment gateway to facilitate online transactions.

Features

  • Role-Based Access Control (RBAC)
  • Single login & signup page for User and Admin
  • Authentication and Authorization mechanisms using JWT session strategy
  • Middleware for protected routes
  • Added CLI-based authorization for administrators
  • Payment gateway integration with Webhook
  • Email services (Nodemailer)

Tech Stack

Front-End

HTML CSS JavaScript TailwindCSS

Back-End

Node.js Express MongoDB Nodemon

Environment Variables

To run this project, you will need to add the following environment variables to your .env file:

  • RAZORPAY_KEY_ID
  • RAZORPAY_KEY_SECRET
  • SMTP_MAIL
  • SMTP_PASSWORD

Not Sure Where to Start? Run Locally

  1. Clone the Project

    git clone https://github.com/Talib8335/Ecommerce-project.git
  2. Go to the Project Directory

    cd ecom-api
  3. Install Dependencies

    npm install
  4. Start the Server

    nodemon
  5. Generate Key to Signup as Admin

    npm run ad256
  6. Add Generated Key in Local-Storage

    ___as : Generated key

Snapshorts

Signup Page

Signup Page

Login Page

Login Page

Forgot Password

Forgot Password

Homepage

Homepage

Admin Dashboard

Admin Dashboard

Admin Console Product Section

Admin Console Product Section

Admin Customer Section

Admin Customer Section

Admin Orders Section

Admin Orders Section

Admin Payment Section

Admin Payment Section

Customer Dashboard

Customer Dashboard

Customer Checkout Page

Customer Checkout Page

Customer Payment

Customer Payment

Customer Order Page

Customer Order Page

Customer Cart

Customer Cart

About

This is a comprehensive eCommerce platform built using Node.js and Express.js for the backend, with core HTML, CSS, and JavaScript for the frontend. The project follows the MVC architecture and implements a Role-Based Access Control (RBAC) design pattern. It also includes integration with a payment gateway to facilitate online transactions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published