This is a demo on how to use Ember.js with Ember.SimpleAuth plugin and Rails 4.1 for the backend stuff + assets management.
- Ember.js - 1.8.1
- Ember.SimpleAuth - 0.7.2
- Rails - 4.1.9
Only a couple of steps:
git clone git@github.com: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
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.