Skip to content

johnptmcdonald/airpair_rails_angular_devise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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 install the ruby gems

  • $ rake db:create && rake db:migrate the database

  • start your rails server ($ rails s)

  • In the client folder, run $ npm install && bower install to include all the dependencies

  • Finally run $ grunt serve from the client folder to start a server.

Right now, users can only be created from the command line.


About

Angular authentication in rails template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published