https://github.com/pranavpr/rails-api-angularjs-template
Rails API and AngularJS template
https://github.com/pranavpr/rails-api-angularjs-template
Last synced: 12 days ago
JSON representation
Rails API and AngularJS template
- Host: GitHub
- URL: https://github.com/pranavpr/rails-api-angularjs-template
- Owner: pranavpr
- Created: 2015-02-12T12:05:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-16T13:48:55.000Z (almost 11 years ago)
- Last Synced: 2025-01-26T19:18:03.841Z (12 months ago)
- Language: Ruby
- Size: 406 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails API and AngularJS Template
This template can serve as a starting point for [Rails API](https://github.com/rails-api/rails-api) and AngularJS based application. AngularJS was scaffold using [Yeoman](http://yeoman.io) with [yo angular generator](https://github.com/yeoman/generator-angular) version 0.11.1. So you can utilize all the goodies offered by yo angular generator.
## Prerequisites
1. node
2. npm
3. grunt
4. bower
5. yeoman
6. yo angular generator
## Getting started
Clone the repository and navigate to repository root directory and run following commands
```
npm install
bower install
```
## Source files
Angular source files are present in `app/angular` directory.
## Build & development
Run `grunt` for building the javascript and CSS files. The build javascript and CSS files are transferred to `public` directory after build.
## Testing
Running `grunt test` will run the unit tests with karma. `karma.conf.js` is present in `test` directory.
## Starting
Boot the application using `rails s`.