/E-Commerce-website.

I have created a general store website using Node js , Mongo dB and Express js.

Primary LanguageJavaScript

Node js, Mongodb, Express js Shopping Cart

This project work with Stripe api for Nodejs. Go to http://stripe.com/ for more information

Requiments

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".