Skip to content

Hafilu/Shopping-Cart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Cart Web Application

Overview

This is a web application for managing an online shopping cart with both user and admin interfaces. It's built using Node.js, Express.js, MongoDB and Handlebars, Bootstrap for the frontend. The application allows users to view products, add them to the cart, place orders with cash on delivery or online payment, and view their order history. Admins can manage products, users, and orders.

Features

  • User Side:

    • View products
    • Add products to the cart
    • Place orders with Cash on Delivery (COD) or Online Payment
    • View order history
    • Use AJAX for enhanced user experience
  • Admin Side:

    • View product list
    • Add, edit, and delete products
    • Manage users
    • Manage orders and update their status

User Side

User login

User login

User sign up

User login

View products

view products

Cart

cart

Place order

place order

Online payment

online

Order summary

placed

Orders

orders

Order details

order details

Admin Side

Product list

products

Search product

searching

Add products

add products

Edit products

edit products

All orders

all orders

All users

users

Installation

Prerequisites

  • Node.js installed
  • MongoDB installed and running
  1. Clone the repository:

    git clone https://github.com/Hafilu/Shopping-cart.git
    
    cd shopping-cart
    
    npm install
    

Create a .env file in the root directory. Add the environment variables and configure them as needed

npm start

The application should now be running on http://localhost:3000.

Usage

  • Open a web browser and go to http://localhost:3000 to access the user interface.
  • Log in as an admin to access the admin interface.
  • Use the different features as described in the Features section.

Contributing

If you'd like to contribute to this project, please contact me.

Acknowledgments

Thank Brototype Malayalam for helping me to create this project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published