Skip to content

Demo Rails application using Backbone.js, CoffeeScript and Jasmine

Notifications You must be signed in to change notification settings

superchris/backbone_coffeescript_demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is sample Rails application that demonstrates usage of

This code is from the demo used during RailsWayCon 2011 conference presentation Rails-like JavaScript using CoffeeScript, Backbone.js and Jasmine. Source code is based on original Todos application by Jérôme Gravel-Niquet.

In this fork, I've moved it around and upgraded it to rails 3.1

Running application

Install gems, run migrations and start application with

bundle install
rake db:migrate
rails server

And then visit http://localhost:3000.

Running tests

Run rake jasmine and then visit http://localhost:8888 to execute Jasmine tests and see results.

Application source code

Backbone.js models and views written in CoffeeScript are located in app/assets/javascripts directory and Jasmine tests are located in spec/coffeescripts directory.

About

Demo Rails application using Backbone.js, CoffeeScript and Jasmine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 70.2%
  • CoffeeScript 29.8%