This is a sample application to demonstrate the simplicity of Cuba.
Combined with DataMapper you can easily create dynamic Web Apps backed with a database.
This sample uses Postgresql as the database and you can change the configuration in db_setup.rb
Clone this repo
git clone https://github.com/Sdogruyol/cuba-datamapper-sample
cd and bundle
cd cuba-datamapper-sample && bundle install
Run it!
rackup
And go to
http://localhost:9292/hello
That's it :)
Happy hacking <3