A 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.
- angularjs, a JavaScript MVW Framework
- bootstrap, the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web
- jquery, the Write Less, Do More, JavaScript Library
- less, a CSS pre-processor
- requirejs, a JavaScript file and module loader
- etc
- expressjs, sinatra inspired web development framework for node.js
- gulp, the streaming build system
- swig, a simple, powerful, and extendable JavaScript Template Engine
- etc
$ bower install
$ npm installDevelopment Environment using gulp-nodemon, browser-sync and gulp-jshint.
- Make sure isDevMode configuration is true in locals.js
- Start development mode with
gulp --development - Input
http://localhost:devPortwith browsers
- Make sure isDevMode configuration is false in locals.js
- Compile and build with
gulp --production - Start the server with node or pm2 or others
- Input
http://localhost:portwith browsers
System configuration are stored in the locals.js file.
Start the server and input http://localhost:port/samples with browsers.
Show task list with gulp help.
Test using karma and jasmine, run the test with npm test or karma start. Unit and coverage test report are stored in report directory.
- watch gulp files
- the browser reload while restart nodemon
27.01.2016
- fix task can not separate execution with development mode
25.01.2016
- add build-templates task to optimize ngTemplates that registers AngularJS templates in the $templateCache
- add error and listening event to server
17.01.2016
- replace gulp-livereload with browser-sync
- add gulp-help, gulp-size and others gulp components
- remove less.js
10.01.2016
- adjust directory and code of project
- add angular samples page
- add README.md preview
01.01.2016
- fix mobile can not redirect
- fix can not define custom router
18.11.2015
- add gulp task named build-views that registers AngularJS templates in the $templateCache
- add karma and size into gulpfile
- replace chrome launcher with phantomjs launcher in karma
- modify layout launcher and suffix of templateUrl
31.10.2015
- initial release
18.10.2015