http://bahmutov.calepin.co/inject-valid-constants-into-angular.html
mongod -dbpath "C:\mongodb-data\data\db" nodemon server.js
mocha tests
npm install underscore --save npm install underscore --save-dev
in case db locked: //http://www.mkyong.com/mongodb/old-lock-file-datadbmongod-lock-probably-means-unclean-shutdown/
//routing ! // http://compassinhand.com/2014/01/21/building-an-angularjs-app-using-node-js-and-expressjs/
// static folders and such: //http://stackoverflow.com/questions/13395742/can-not-get-css-file
http://scotch.io/bar-talk/setting-up-a-mean-stack-single-page-application http://scotch.io/tutorials/javascript/build-a-restful-api-using-node-and-express-4
nodemon server.js
This is a repo for a starter appliation for a Single Page MEAN Stack application. Just download and install and you have a good foundation for building application.
- Download the repository
- Install npm modules:
npm install
- Install bower dependencies
bower install
- Start up the server:
node server.js
- View in browser at http://localhost:8080
Use this starter kit to build any MEAN stack application you like.
If you have any questions or requests, email us at chris@scotch.io and we'll keep updating this to make it perfect.
- CRUD examples
- Development and Production Environments
- Link examples
- Single Page AngularJS Animations
KARMA setup: http://karma-runner.github.io/0.12/intro/installation.html http://karma-runner.github.io/0.10/intro/configuration.html
karma start karma.conf.js