Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
public
views
README.md
Rakefile
app.rb
config.ru

README.md

Sammy

Backend Example

This is a simple To-do list type application built with a simple ruby backend and a sammy front-end.

The backend is built using sinatra (+rack), and cloudkit.

Setup

Besides Ruby you also need some gems. Currently, there are some issues with Rack 1.0 and Sinatra so you need to install the pre-release sinatra from github.

sudo gem install cloudkit haml sudo gem install sinatra-sinatra -s http://gems.github.com

Once you have everything installed from this directory (examples/backend) run:

rake start

Notes

!!! Todo's are stored in memory! AKA if you restart the rack application you will loose you're todos. This is really just a demonstration. If you really want to use this, check the cloudkit docs to see how to set cloudkit up to store info in Tokyo Cabinent.

Something went wrong with that request. Please try again.