/Shopping-Cart-Tool

A simple NodeJS/ExpressJS/Mongodb customize shopping-cart webapp.

Primary LanguageJavaScript

Shopping Cart Tool - NodeJS/Express

A ShoppingCart (Ecommerce) webapp build using NodeJs, Express, MongoDB.

Live Demo on Heroku:

https://shopping-cart-tool.herokuapp.com/

Features

  • Login/Signup
  • Edit User Details
  • List all avaiable Products
  • Add new products by updating products-data/products-data.js at server.
  • Show cart and shopping history.
  • Payment using Stripe NPM Package

Run Locally on Your Machine

You need Node, NPM and MongoDB properly installed.

Clone this repository

    git clone https://github.com/mittalprince/Shopping-Cart-Tool.git

Setup the environment variables replacing <mongo_uri> with your mongodb uri.

    create .env file inside project directory with your mongo_uri variable

Install dependencies

    npm install

With your mongod service running, this will populate shopping database

    node products-data/products-data.js 

This will start dev server at http://localhost:3000 with Nodemon.

    npm run dev

Tools and Technologies

Backend: NodeJs, ExpressJS, PassportJS, Express-Validators, Stripe.
Database: MongoDB.
Frontend: Bootstrap, Handlebars.

ScreenShots

ScreemShot-1

ScreemShot-2

ScreemShot-3

ScreemShot-4