ExpressJS vs hapi vs Sinatra

ExpressJS
ExpressJS

5.3K
134
1.3K
hapi
hapi

265
85
79
Sinatra
Sinatra

371
120
206

What is ExpressJS?

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

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 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!

Why do developers choose ExpressJS?
Why do developers choose hapi?
Why do developers choose Sinatra?
What are the cons of using ExpressJS?
What are the cons of using hapi?
What are the cons of using Sinatra?
    Be the first to leave a con
      Be the first to leave a con
      What companies use ExpressJS?
      What companies use hapi?
      What companies use Sinatra?
      What are some alternatives to ExpressJS, hapi, and Sinatra?
      Koa
      Koa aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware.
      React
      Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
      Flask
      Flask is intended for getting started very quickly and was developed with best intentions in mind.
      Django
      Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
      Go
      Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
      See all alternatives
      What tools integrate with ExpressJS?
      What tools integrate with hapi?
      What tools integrate with Sinatra?
      Decisions about ExpressJS, hapi, and Sinatra
      No stack decisions found
      Interest over time
      Reviews of ExpressJS, hapi, and Sinatra
      No reviews found
      How developers use ExpressJS, hapi, and Sinatra
      Avatar of Cloudcraft
      Cloudcraft uses ExpressJSExpressJS

      Express.js is the workhorse of the Cloudcraft.co backend. It's not the most exciting part of a stack, but it works, is very well documented, and you can find a plugin for almost everything you could possibly want. We also carefully evaluated Koa.js, but decided not to go down this route: fewer plugins, less documentation & answers online. I'm also not personally convinced by the generators yield syntax at all. ES7 async functions looks like a much better bet, and with Promises and Babel I can have that already today.

      Avatar of datapile
      datapile uses SinatraSinatra

      Scalatra (we had to pick Sinatra on StackShare since Scalatra is has not yet been officially added) is the slickest (not to be confused with Slick for Scala) web/applet server framework we've had the pleasure of playing with in Scala.

      For all intensive purposes, Scalatra is the Scala version of Sinatra (which for anyone who doesn't know is a Ruby web server DSL).

      Avatar of Volkan Özçelik
      Volkan Özçelik uses ExpressJSExpressJS

      I use express.js for nightly.zerotoherojs.com and dojo.zerotoherojs.com web apps.

      Express is well-known, lightweight, works out-of-the-box, has great middleware support and has minimal learning curve.

      It is the best framework to start developing a general Node.js web app.

      Avatar of Kent Steiner
      Kent Steiner uses ExpressJSExpressJS

      I'm fluent in ExpressJS, but over the past two years I have moved to HapiJS. Similar results, but I find Hapi to be more full-featured towards my app, api and service needs. I can operate confidently in both.

      Avatar of Promethean TV
      Promethean TV uses ExpressJSExpressJS

      PrometheanTV utilizes the ExpressJS web application framework to deploy various web applications and services including the Broadcast Center Tool, our video embed service, and our REST API.

      Avatar of Merge In
      Merge In uses ExpressJSExpressJS

      We rely on ExpressJS to serve our content simply, easily, and effectively, without the bloat-ware. Big thanks to StrongLoop for supporting this package.

      Avatar of Thibault Maekelbergh
      Thibault Maekelbergh uses hapihapi

      Serves static content. Was added to make it more easy to transition to serverside view templating and API.

      Avatar of Karma
      Karma uses SinatraSinatra

      We use Sinatra a lot. I love Sinatra for APIs. It's really simple, really lightweight. It's awesome.

      Avatar of David Sugar
      David Sugar uses SinatraSinatra

      Typically used for web api services such as in piwitch

      Avatar of Ian Kelly
      Ian Kelly uses hapihapi

      Web framework for building RESTful APIs in Javascript.

      Avatar of EdgeTheory
      EdgeTheory uses SinatraSinatra

      Microservices, RESTful APIs

      Avatar of Dave Woolfenden
      Dave Woolfenden uses hapihapi

      REST libraries usage

      Avatar of Satoru Ishikawa
      Satoru Ishikawa uses SinatraSinatra

      WebAPIつくるのに。

      How much does ExpressJS cost?
      How much does hapi cost?
      How much does Sinatra cost?
      Pricing unavailable
      Pricing unavailable
      Pricing unavailable
      News about ExpressJS
      More news
      News about hapi
      More news