This is a basic angular app using:
- ui.router
- angular-jwt
The front-end framework is bootstrap#v4.0.0-alpha
.
It uses IIFE's to manage global variables.
Uses Lo-Dash template strings for the grunt templates.
To start, clone the app, delete the .git
directory and git init
. Then run:
npm install
Next run to start a new app run:
grunt start --name=chooseName
The app will be created in a new app
directory.
You can use grunt -h
to see a list of available tasks:
To start a new app run:
grunt start --name=chooseName
There are additional options.
One you have done this, you can generate anyone of these:
grunt g:controller --name=main
This will create a controller javascript file and a view directory.
grunt g:factory --name=factory_name
grunt g:service --name=service_name
grunt g:constant --name=test --key=API --value=http://localhost:3000 --type=string
grunt g:constant --name=twitter --key=TWITTER --value=process.env.TWITTER_CLIENT_ID
grunt g:directive --name=directive_name
This will create both a javascript file and a corresponding view file found in app/views/directives
.
If there are any issues or you want to add things, please fork and PR.