Last week I spoke about the Ruby micro webframework Cuba at the latest meeting in Aarhus Ruby Brigade, and during that talk I built a very simple todo list application using Cuba (obviously) and CouchDB.
It is really simple and as demo apps usually are, this one is definitely not suitable for much else than serving as an example of how to use Cuba.
Feel free to clone it and play with it. It’s by the way not compatible with Ruby 1.8.
To get it running just do the following:
- install CouchDB and fire it up
- create a todo database
- clone the repo
rackupand point your browser to http://localhost:9292
Should you have any comments or suggestions, please let me know on Twitter!