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, browser-sync and gulp-jshint.

  1. Make sure isDevMode configuration is true in locals.js
  2. Start development mode with gulp --development
  3. Input http://localhost:devPort with browsers

Production

  1. Make sure isDevMode configuration is false in locals.js
  2. Compile and build with gulp --production
  3. Start the server with node or pm2 or others
  4. Input http://localhost:port with browsers

Configuration

System configuration are stored in the locals.js file.

Samples Page

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

Gulp

Show task list with gulp help.

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.2.1

2.2.0

2.1.0

2.0.0

1.1.1

1.1.0

1.0.0

License

MIT