angularjs-requirejs-boilerplate

An complete angularjs requirejs boilerplate for node. There are angular and test samples in the project, you can quick start your new project with angularjs-requirejs-boilerplate.

Features

Front-end

Back-end

Quick Start

Install Dependencies:

$ bower install
$ npm install

Development

Development Environment using gulp-nodemon, gulp-livereload and gulp-jshint.

  1. Make sure isDevMode configuration is true in locals.js
  2. Install livereload chrome extension
  3. Start the server with gulp start-develop

Production

  1. Make sure isDevMode configuration is false in locals.js
  2. Compile and build with gulp
  3. Start the server with node or pm2 or others

Configuration

System configuration are stored in the locals.js file.

Samples Page

Start the server and input http://localhost:8099/samples with browsers.

Test

Test using karma and jasmine, run the test with npm test or karma start. Unit and coverage test report are stored in report directory.

Changelog

2.0.0

1.1.1

1.1.0

1.0.0

License

MIT