hapi vs. Rails API vs. Sinatra

Get help choosing one of these



Hacker News, Reddit, Stack Overflow Stats

  • 61
  • 2
  • 156
  • -
  • 10
  • 583
  • 235
  • 135
  • 5.12K

GitHub Stats

Description

What is hapi?

hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.

What is Rails API?

Rails::API is a subset of a normal Rails application, created for applications that don't require all functionality that a complete Rails application provides. It is a bit more lightweight, and consequently a bit faster than a normal Rails application. The main example for its usage is in API applications only, where you usually don't need the entire Rails middleware stack nor template generation.

What is Sinatra?

Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

Want advice about which of these to choose?Ask the StackShare community!

Ask a Question

Pros

Why do developers choose hapi?
Why do you like hapi?

Why do developers choose Rails API?
Why do you like Rails API?

Why do developers choose Sinatra?
Why do you like Sinatra?

Cons

What are the cons of using hapi?
No Cons submitted yet for hapi
Downsides of hapi?

What are the cons of using Rails API?
No Cons submitted yet for Rails API
Downsides of Rails API?

What are the cons of using Sinatra?
No Cons submitted yet for Sinatra
Downsides of Sinatra?

Pricing

How much does hapi cost?
How much does Rails API cost?
How much does Sinatra cost?

Companies

What companies use hapi?
51 companies on StackShare use hapi
What companies use Rails API?
1 companies on StackShare use Rails API
What companies use Sinatra?
86 companies on StackShare use Sinatra

Integrations

What tools integrate with hapi?
3 tools on StackShare integrate with hapi
What tools integrate with Rails API?
2 tools on StackShare integrate with Rails API
What tools integrate with Sinatra?
7 tools on StackShare integrate with Sinatra

What are some alternatives to hapi, Rails API, and Sinatra?

  • ExpressJS - Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple
  • Flask - a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
  • Django REST framework - Web APIs for Django
  • Sails.js - Realtime MVC Framework for Node.js

See all alternatives to hapi

Latest News

Sinatra 2.0.1 is out!
One Framework a Day keeps the Boredom Away: Sinatra


Interest Over Time


Get help choosing one of these