Skip to content

librah/nodejs-shopping-cart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

This shopping cart demo is built based on the work from NerdStore - Carrinho de Compras - NodeJS/Express

Live Demo on Heroku:

maruji-store.herokuapp.com

Run Locally on Your Machine

You need Node, NPM and MongoDB properly installed.

Clone this repository

    git clone https://github.com/brenohq/nodejs-shopping-cart.git

Setup the environment variables replacing with your mongodb port, usually is 27017.

    export MONGODB_URI=mongodb://localhost:<MONGODB-PORT>/shopping

Install dependencies

    npm install

With your mongod service running, this will populate shopping database

    node seed/product-seeder.js 

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

    npm run dev

Tests

    npm test

Technologies

Back-end

NodeJS, Express, MongoDB, Mongoose.

Fron-end

Handlebars and Bootstrap.

About

A simple webapp demonstrating the custom payment auth for eCommerce web app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 60.9%
  • JavaScript 35.1%
  • HTML 4.0%