This shopping cart demo is built based on the work from NerdStore - Carrinho de Compras - NodeJS/Express
You need Node, NPM and MongoDB properly installed.
Clone this repository
git clone https://github.com/brenohq/nodejs-shopping-cart.gitSetup the environment variables replacing with your mongodb port, usually is 27017.
export MONGODB_URI=mongodb://localhost:<MONGODB-PORT>/shoppingInstall dependencies
npm installWith 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 npm testNodeJS, Express, MongoDB, Mongoose.
Handlebars and Bootstrap.