Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript Ruby CSS
branch: master
Failed to load latest commit information.
app Get socket id of model change originator from headers.
config
db
lib/tasks Initial basic rails + backbone.js todo list app
public Upgraded so that it can be moved off bamboo stack on heroku
script
test Initial basic rails + backbone.js todo list app
.gitignore
Gemfile
Gemfile.lock Making the rake tasks load properly
Procfile
README.md Fixing syntax
Rakefile Making the rake tasks load properly
config.ru Initial basic rails + backbone.js todo list app

README.md

Backbone-Todo-App

This application shows how one can combine the usage of both backbone.js on the client-side and Ruby on Rails (3.0.7) on the server-side with Pusher to create an rich interactive and collaborative application such as a todo-list manager.

Code

The bulk of the application's front-end logic is heavily based off the backbone.js todo-list example. We've written a small library that binds Pusher and Backbone together, the code to this can be found in public/javascripts/backpusher.js. The usage of it can be seen in public/javascripts/application.js.

Running Locally

To get this application running locally, you should be able to simply clone this repository and run the following:

bundle install
rake db:migrate
rails s
open http://localhost:3000/
Something went wrong with that request. Please try again.