a demo of a REST API server with sinatra and client in ruby