###Just Another Framework For AngularJS. (J.A.F.F.A)
- Static Web Project scaffolding - auto-create project structure to support and modularize app modules,libs,services.
- RequireJS, RequireCSS support to dynamically load module java-script and css files as well as AngularJS Modules.
- Enabling grunt tasks to automate following,
- Minify JS and CSS.
- Optimize Images.
- Auto create distribution folder with minified files.
- Auto create controller and AngularJS services.
- Support for writing and running unit tests.
Follow the steps to download and use the template:
- Install npm, grunt, grunt-cli and grunt-init.
- Download/clone the template locally.
- Run the command
grunt-init path to downloaded template
. - Run
npm install
to install all the node_modules. - Run
grunt run-server
to run local dev server. After the server is started the default app automatically opens in browser.
- Create a default project structure. (see Getting Started).
- Dynamically load JS, CSS files.
- Dynamically load AngularJS Modules.
- Bundled local dev server. (run
grunt run-server
to run local dev server and load the app). - Create new app with Controller (run
grunt create-module
and provide app name to create a skeleton module code). - Create new service module (run
grunt create-service
and provide app name for the create a skeleton service code). - Create new directive (run
grunt create-directive
and provide directive name for the service a skeleton directive code). - Create distribution build (run
grunt build
to minify files and add it to new build folder). - Auto create URL and routing support for new views/controllers.
- Ability to dynamically user services and directives to RequireJS Config.
- Support for writing unit tests using Jasmine and Karma.
- Support for end to end testing using Protractor.
- Feature to upgrade the J.A.F.F.A framework for current running projects.
- Support for AngularJS ui-router instead of ngRouter.