Description
Sinatra is a Ruby DSL for quickly creating web applications with very little code. You write routes in a few lines, each one a method such as get with a path and a block that returns the response, and the framework handles the rest of the web plumbing. The site shows a short example, requiring the sinatra library and defining one route that returns a line of text. It was designed and developed by Blake Mizerany. The project has been supported by companies including Heroku, GitHub, Engine Yard and Travis CI, and is now taken care of by 84codes. Sinatra is open source. Its source code and contributor list are on GitHub, and the site links to documentation, a blog and a Discord community where you can ask questions. The site describes it as a tool for small web apps, services and prototypes built in Ruby.…
Highlights
- Routes defined in a few lines of Ruby
- Minimal DSL for web applications
- Open source on GitHub
- Community on Discord
- Docs and blog on the project site
Ratings & Reviews
No ratings yet
Be the first to rate Sinatra.
People also visit
Ruby on Rails
Ruby on Rails is an open source full-stack web application framework
Sinatra FAQ
What is Sinatra?
A Ruby DSL for quickly creating web applications with minimal effort and very little code.
Is Sinatra open source?
Yes. Its source is on GitHub at sinatra/sinatra, and the contributors are listed there.
How do I start?
Require the sinatra library in a Ruby file and define routes with get or another HTTP method, as in the example on the site. The documentation covers the rest.
Who makes it?
It was designed and developed by Blake Mizerany. The site credits Heroku, GitHub, Engine Yard, Travis CI and 84codes for support.
What are the best Sinatra alternatives?
Popular alternatives to Sinatra include Ruby on Rails, Ginatra and Django. See all Sinatra alternatives




