This is a seed app for an authenticated angular on rails app.
All the angular stuff is kept in the client folder in the rails root.
The seed app uses ng_token_auth and devise_token_auth to authenticate users, and uses a Todo resource to illustrate a secured rails API endpoint. The app skips user email confirmation.
The app is built in Rails 4.2.1 and Angular 1.4.2, with a Postgres database.
To get set up locally just clone the repo, then:
- make sure you have Compass installed:
$ gem update --system && gem install compass
-
$ bundle installthe ruby gems -
$ rake db:create && rake db:migratethe database -
start your rails server (
$ rails s) -
In the client folder, run
$ npm install && bower installto include all the dependencies -
Finally run
$ grunt servefrom the client folder to start a server.
Right now, users can only be created from the command line.