This is a simple example single-page Javascript web application written with Chaplin.js. It uses Ruby on Rails as a RESTful JSON backend and Backbone and Chaplin.js for the front end. For familiarity and simplicity the user interface mimics the default Rails scaffold.
Most of the interesting bits are in app/assets/javascripts, but also be sure to check out the view files and routes.rb.
- Ruby on Rails
- CoffeeScript
- RequireJS
- Backbone.js
- Chaplin
- RABL JSON templates
- React components
- Haml Coffee templates
- Backbone.Stickit
- Slim HTML templates
- Bootstrap Sass
- Modernizr
- Devise for authentication
- Several test frameworks and tools
- install RVM
- clone this project
cd
into the project directory- run
bundle install
- run
rake db:migrate
- run
rails server
- visit localhost:3000/users
The Rails Application Template used to create the initial rails project is located in doc/template.rb. Several required configuration files were created as part of the initial project; read through the template for those details.