angular-cart-demo
angular-cart-demo copied to clipboard
Example shopping cart application using MEAN stack (Mongo/ExpressJS/Angular/NodeJS)
trafficstars
angular-cart-demo
Example shopping cart application using AngularJS / ExpressJS / MongoDB / NodeJS.
Getting Started
Prerequisites
- Git
- Node.js and npm Node ^4.2.3, npm ^2.14.7
- Bower (
npm install --global bower) - Ruby and then
gem install sass - Grunt (
npm install --global grunt-cli) - MongoDB - Keep a running daemon with
mongod
Developing
-
Run
npm installto install server dependencies. -
Run
bower installto install front-end dependencies. -
Run
mongodin a separate shell to keep an instance of the MongoDB Daemon running -
Run
grunt serveto start the development server. It should automatically open the client in your browser when ready.
Build & development
Run grunt build for building and grunt serve for preview.
Testing
Running npm test will run the unit tests with karma.
Coverage
Running npm run coverage-report will run the unit tests generating coverage report.