Web Shopping Application project by Chandan Kumar & Jackson Debbarma

Web Shopping Application

 

Node js, Mongodb, Express js Shopping Application

As the name suggests this is a Web shopping application, where we can browse items and buy them using the STRIPE payment system.

Requirements

You need to install Nodejs and MongoDB

package.json

{ “name”: “shopping-cart”, “version”: “0.0.0”, “private”: true, “scripts”: { “start”: “node ./bin/www” }, “dependencies”: { “bcrypt-nodejs”: “0.0.3”, “body-parser”: “~1.18.2”, “connect-flash”: “^0.1.1”, “connect-mongo”: “^2.0.0”, “cookie-parser”: “~1.4.3”, “csurf”: “^1.9.0”, “debug”: “~2.6.9”, “express”: “~4.15.5”, “express-handlebars”: “^3.0.0”, “express-session”: “^1.15.6”, “express-validator”: “^4.3.0”, “hbs”: “~4.0.1”, “mongoose”: “^4.12.5”, “morgan”: “~1.9.0”, “passport”: “^0.4.0”, “passport-local”: “^1.0.0”, “serve-favicon”: “~2.4.5”, “stripe”: “^5.3.0” } }

## TECHNOLOGY USED——-

* 1-FRONTEND-HTML 5 , CSS.

* 2-BACKEND- NODE JS, EXPRESS JS , MONGO DB.

## HOW TO RUN————-

* 0-FIRST INSTALL ALL THE SOFTWARE AFTER MOVING INSIDE THE PROJECT FOLDER LIKE “node js”, “npm install” , “npm install ongo db” “npm install passport” “npm install stripe”.

* 1-RUN “mongod” ON COMMAND PROMT.

* 2-THEN GET INTO THE “seed” FOLDER AND RUN “product_seeder” FILE.

* 3-NOW RUN “npm start” ON COMMAND PROMT.

* 4-FINALLY OPEN YOUR BROWSER AND RUN THE LINK “localhost3000”.

// for dummy testing

* Credit Card Number — 4242424242424242

address: $(‘#address’).val(),

contactno1: $(‘#contact-no-1’).val(),

contactno2: $(‘#contact-no-2’).val(),

city: $(‘#city’).val(),

state: $(‘#state’).val(),

pin: $(‘#pin’).val()

DEMO : 

 

Leave a Comment

Your email address will not be published.