Frontend side for home-dashboard
January 13, 2016 ยท View on GitHub
This frontend code is used on home-dashboard
Used components
This frontend application uses following 3rd party libraries to make all this magic happen.
- slush-angular (https://github.com/slushjs/slush-angular)
- AngularJS (https://github.com/angular/angular.js)
- AngularUI Router (https://github.com/angular-ui/ui-router)
- AngularUI Bootstrap (https://github.com/angular-ui/bootstrap)
- angular-moment (https://github.com/urish/angular-moment)
- Angular Bootstrap Show Errors (https://github.com/paulyoder/angular-bootstrap-show-errors)
- angular-linkify (https://github.com/scottcorgan/angular-linkify)
- angularSails (https://github.com/balderdashy/angularSails)
- Bootstrap (https://github.com/twbs/bootstrap)
- bootswatch (https://github.com/thomaspark/bootswatch/)
- Font Awesome (https://github.com/FortAwesome/Font-Awesome)
- noty - A jQuery Notification Plugin (https://github.com/needim/noty)
- Sails JavaScript Client SDK (https://github.com/balderdashy/sails.io.js)
Development
To start developing in the project run:
gulp serve
or
npm start
Then head to http://localhost:3001 in your browser.
The serve tasks starts a static file server, which serves the AngularJS application, and a watch task which watches
all files for changes and lints, builds and injects them into the index.html accordingly.
Tests
To run tests run:
gulp test
Or first inject all test files into karma.conf.js with:
gulp karma-conf
Then you're able to run Karma directly. Example:
karma start --single-run
Production ready build - a.k.a. dist
To make the app ready for deploy to production run:
gulp dist
Now there's a ./dist folder with all scripts and stylesheets concatenated and minified, also third party libraries
installed with bower will be concatenated and minified into vendors.min.js and vendors.min.css respectively.
To run your deployment code run:
gulp production
Then head to http://localhost:3000 in your browser.
License
The MIT License (MIT)
License
The MIT License (MIT)
Based on tarlepp's angular-sailsjs-boilerplate-frontend