Sinatra vs. Rails API vs. graphql-yoga

Get help choosing one of these Get news updates about these tools


Heads up: you're comparing apples to oranges. Tools belonging to different groups are often not directly comparable because they usually have different intended purposes and benefits.

Favorites

26

Favorites

5

Favorites

2

Hacker News, Reddit, Stack Overflow Stats

  • 235
  • 137
  • 5.1K
  • -
  • 10
  • 576
  • -
  • -
  • 0

GitHub Stats

Description

What is Sinatra?

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

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 graphql-yoga?

Easiest way to run a GraphQL server: Sensible defaults & includes everything you need with minimal setup.;Includes Subscriptions: Built-in support for GraphQL subscriptions using WebSockets.;Compatible: Works with all GraphQL clients (Apollo, Relay...) and fits seamless in your GraphQL workflow.

Pros

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

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

Why do developers choose graphql-yoga?
Why do you like graphql-yoga?

Cons

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

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 graphql-yoga?
No Cons submitted yet for graphql-yoga
Downsides of graphql-yoga?

Pricing

How much does Sinatra cost?
How much does Rails API cost?
How much does graphql-yoga cost?

Companies

What companies use Sinatra?
86 companies on StackShare use Sinatra
What companies use Rails API?
1 companies on StackShare use Rails API
What companies use graphql-yoga?
0 companies on StackShare use graphql-yoga

Integrations

What tools integrate with Sinatra?
7 tools on StackShare integrate with Sinatra
What tools integrate with Rails API?
2 tools on StackShare integrate with Rails API
What tools integrate with graphql-yoga?
5 tools on StackShare integrate with graphql-yoga

What are some alternatives to Sinatra, Rails API, and graphql-yoga?

  • 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
  • hapi - Server Framework for Node.js

See all alternatives to Sinatra

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