By default, Sinatra knows how to serve up a rendered html page. With a slight tweak, we can make it spit out Json too!
Sinatra is nice because it’s super lightweight. This will allow you to make it do exactly what you want, nothing more. This is the opposite of Ruby on Rail’s convention. Likewise, it takes just a bit more configuration to make Sinatra serve CoffeeScript as compared to Rails.