This is an example rails 3 app built with backbone.js, coffeescript and mongoDB (using mongoid)
To follow the development of this app, follow us on Twitter: http://twitter.com/codebrewstudios.
If you need any projects built using this stack feel free to contact us at [email protected]
- Ruby 1.9.2
- Rails 3
- Coffeescript 1.0
- mongoDB (any recent stable version should work, we use 1.8)
Using rvm is recommended
The most interesting part of the project exists inside the app/coffeescripts folder. Its broken down into 4 main parts
- lib - javascript library files to use through out the application
- Controllers dir - this is where our backbone controllers live
- Model dir - this is where backbone models and collections are defined
- Views - backbone views (widgets)
- templates - handlebar.js templates to be used by our backbone views