Todo webapp with Sinatra/Sequel and API