Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rails & Backbone in perfect harmony
Ruby CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
public
script
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

This is the classic Backbone Todos app, refactored to leverage CoffeeScript and Rails' Asset Pipeline, and backended by a Rails JSON API.

Install

If you don't already know this dance:

git clone git://github.com/dthtvwls/rails-backbone-todos.git

cd rails-backbone-todos/

bundle install

rake db:schema:load

rails server

open http://localhost:3000

For a really fun time

Check http://localhost:3000/todos.json while you use the Backbone app to see the data updating. All communication between Backbone and Rails is over the API; front and back ends are completely decoupled.

Something went wrong with that request. Please try again.