An example Rails app that uses a Backbone.js UI for user signup, authentication, and password retrieval.
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config Sign out via HTTP DELETE method for better security. Dec 19, 2012
db Initial commit. Apr 30, 2012
doc
lib Initial commit. Apr 30, 2012
public
script
test
vendor/assets
.gitignore initial commit Apr 30, 2012
Gemfile
Gemfile.lock
README
README.md
Rakefile
config.ru

README.md

Backbone.js Authentication UI with Ruby on Rails and Devise

Backbone Devise Screenshot

This is an example application that implements a user regisration, authentication, and password retrieval user interface using Backbone.js, Ruby on Rails, and Devise.

The front end also takes advantage of a few additional Backbone support libraries which include:

Demo Application

A demo application can be found at http://backbonedevise.herokuapp.com

Local Installation

  1. Clone the repository

    git clone git://github.com/jhuckabee/backbone_devise.git

  2. Configure your database in config/database.yml. The current config assumes a custom local PostgreSQL configuration.

    vi config/database.yml

  3. Migrate the database

    rake db:migrate

  4. Start your webserver

    rails server

Tests

Integration tests have been written using Capybara and Selenium

Run the tests using

rake test