ember-simple-auth-rails-demo icon indicating copy to clipboard operation
ember-simple-auth-rails-demo copied to clipboard

Demo showcasing Ember.SimpleAuth with Rails 4.1

Ember.SimpleAuth and Rails 4.1 demo

This is a demo on how to use Ember.js with Ember.SimpleAuth plugin and Rails 4.1 for the backend stuff + assets management.

Versions used

  • Ember.js - 1.8.1
  • Ember.SimpleAuth - 0.7.2
  • Rails - 4.1.9

Getting stuff to work

Only a couple of steps:

git clone [email protected]:ugisozols/ember-simple-auth-rails-demo.git
bundle install
rake db:migrate
rake db:seed

And that's it. Now launch rails server and open http://127.0.0.1:3000. You can login with the following credentials:

login: ember
password: password

Test

The example includes a sample integration test (see test/javascripts/integration/login_test.js). Start the server and open http://127.0.0.1:3000/qunit to run the test.