This project get started from sb-admin-angular. However, I want to forcus to Ajax API, And I hope that this souce code will help you to get started a Front-End project easier.
Installation
- Clone this source code
- Make sure you have bower, grunt-cli and npm installed globally
- Run
cp config/default.json config/dev.json
- create config file for your enviroment - On the command prompt run the following commands
- cd
project-directory
- Run
npm install
- Run
npm start
npm run dist
- a shortcut forgrunt serve:dist
to minify the files for deployment- Run
grunt test
to make sure the application work perfectly
And please make note that this project includes PhantomJS for test. So you have to install PhantomJS