A starter template for projects utilizing an AngularJS front end with a Ruby on Rails API back end. This template includes user login & registration features. All Rails code is stored in the 'server' folder, and all AngularJS code is stored in the 'client' folder. The front-end code is based on Yeoman's 'angular' template.
You must have the following items installed:
- Ruby v2.1
- Rails v4.1
- Bower
- Grunt
- Grunt cli
- npm
- SQLite3 (or other database configured in server/config/database.yml)
Clone this repository into project-folder, then do the following:
####Build & start back-end:
- cd project-folder/server
- bundle install
- rake db:create
- rake db:migrate
- rails s (to start)
####Build & start front-end:
- cd .. (to return to project-folder)
- cd client
- bower install
- (sudo) npm install
- grunt serve (to start)