A boilerplate application for express.js, angular.js, and Twitter's bootstrap (via angular-ui), as originally generated by initializr.com.
note depending on your system configuration, you may need to prepend
npm install -g global installs below.
Install application dependencies:
npm install -g grunt grunt-cli karma jshint npm install -d
Run the app with
Unit Test express app
Unit Test angular app
End-to-end test angular app Start the app in one terminal
Execute tests against running app
Run all express.js and angular.js unit tests
grunt nodeunit karma:unit
Code coverage is enabled by default. To view coverage reports, open
./coverage in your file chooser. Coverage reports
can be found under directories by browser name. Open the
index.html file in each directory. Changing the coverage type
config/karma.conf.js will affect these output files.
Run jshint on app
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2013 Jim Schubert Licensed under the MIT license.