Introducing
The Slant team built an AI & it’s awesome
Find the best product instantly
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now
4.7 star rating
0
Log in
•
Sign up
Add Question
Follow
Development
Web
What are the best Node.js REST frameworks?
7
Options
Considered
33
User
Recs.
Sep 9, 2023
Last
Updated
Related Questions
Activity
Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
Let's go!
Have feedback or ideas?
Join our community
on Discord
Ad
7
Options
Considered
Best Node.js REST frameworks
Price
Written in
Platforms
--
Express.js
-
JavaScript
Cross-platform
--
hapi
-
JavaScript
Cross-platform
--
NestJS
Open Source
TypeScript
-
--
Loopback
-
-
-
--
Restify
-
-
-
See Full List
--
Express.js
My Rec
ommendation
for
Express.js
My Recommendation for
Express.js
Add Video or Image
All
15
Pros
13
Cons
1
Specs
Top
Pro
•••
Very easy to use
See More
Top
Con
•••
No single recommended way of doing something
Express considers itself to be a "minimalistic unopinionated framework", it basically lets the developer determine how their project will be organized. On one hand, this gives anyone terrific power and flexibility to use any library they want for a certain task and to organize their project structure however they want. But on the other hand, there's no single recommended way of organizing things, which can be a trap for beginners and experienced developers alike and result in unmaintainable projects.
See More
Specs
Written in:
JavaScript
Platforms:
Cross-platform
License:
MIT
Repository:
https://github.com/expressjs/express
See All Specs
Top
Pro
•••
Great routing API
Express' extremely powerful routing API allows developers to do tasks ranging from building a REST API to building the routes for a simple web app and then take it to the next level by using route parameters and query strings.
See More
Top
Pro
•••
Support for a lot of plugins
Express takes advantage of Node's NPM to distribute and install countless plugins made by third parties which solve almost anything a developer would want to do with Express.
See More
Top
Pro
•••
Relatively mature
Being a somewhat old Node.js web app framework and being one of the most widely used frameworks, Express.js has matured quite a lot during all that time. It's more stable than its competitors and a huge community backing it.
See More
Top
Pro
•••
Massive ecosystem of middleware
If you have not already checked out the Express.js ecosystem of middleware, you should.
See More
Top
Pro
•••
Express.js is in the Node.js Foundation Incubator Program
Node.js Foundation Announcement here The Node.js Foundation is a Collaborative Project at The Linux Foundation. Linux Foundation Collaborative Projects are independently funded software projects that harness the power of collaborative development to fuel innovation across industries and ecosystems.
See More
Top
Pro
•••
Has the largest userbase
It's by far the most popular framework for node.
See More
Top
Pro
•••
Great supportive community
Express has a big community with a lot of guides and tutorials written about it by developers that have been using it for quite some time.
See More
Top
Pro
•••
Great for beginner Node.js programmers
With a little learning curve, it is a good choice for new NodeJS developers to get started quickly. Express boasts great, thorough documentation.
See More
Top
Pro
•••
Setting up is very easy
Setting up a new Express project is very easy. It consists of installing a handful of libraries through NPM run a single npm install and everything is ready to go.
See More
Top
Pro
•••
Has detailed information
Very simple and fast.
See More
Top
Pro
•••
Easy to find learning resources online
See More
Top
Pro
•••
Great documentation
See More
Hide
See All
Get it
here
Recommend
9
--
hapi
My Rec
ommendation
for
hapi
My Recommendation for
hapi
Add Video or Image
All
12
Pros
11
Specs
Top
Pro
•••
Easy to learn API
Routes are just array of object, no magic here. It just works as might think.
See More
Specs
Written in:
JavaScript
Platforms:
Cross-platform
License:
BSD-3-Clause
Repository:
https://github.com/hapijs/hapi
See All Specs
Top
Pro
•••
Battle tested
Read more about its use by enterprise on google.
See More
Top
Pro
•••
Build-in request and response validation
Allows you to force the structure of the request and response type in a really convenient way. Check joi for more information.
See More
Top
Pro
•••
Key functionality is built-in
And there are many plugins for other features.
See More
Top
Pro
•••
Error handling
Boom makes custom errors easier in Hapi. It provides a set of utilities for returning HTTP errors. Each utility returns a Boom error response object (instance of Error).
See More
Top
Pro
•••
Built-in caching
Redis, MongoDB or Memcached. Check Catbox for more details.
See More
Top
Pro
•••
Scalability
Authors have focused on horizontal-scalability and battle-tested the framework during Black Friday (busy holiday shopping day) without incident.
See More
Top
Pro
•••
Security
The Lead Developer of Hapi is Eran Hammer who was one of the original authors of the OAuth (Secure Authentication) Spec. He has built a security-focussed mindset into Hapi and reviews all code included in Hapi. Several members of the Node Security Project are core contributors to Hapi which means there are many security-minded eyes on the code.
See More
Top
Pro
•••
Fully async
Promises are first class thing in hapi. So, you should not worry about wrapping callbacks. Also you can use async/await.
See More
Top
Pro
•••
Easy to create and support docs for the API
Documentation for the route is a part of route configuration, so it's easy to maintain API documentation. Check out hapi-swagger plugin, it's awesome!
See More
Top
Pro
•••
Performance
WalmartLabs are the guys who found/solved the Node.js CORE Memory Leak; they have developed Hapi following Benchmark Driven Development and the result is a high-performance framework
See More
Hide
See All
Get it
here
Recommend
10
--
NestJS
My Rec
ommendation
for
NestJS
My Recommendation for
NestJS
Add Video or Image
All
5
Pros
3
Cons
1
Specs
Top
Pro
•••
Modern
Allows you to structure your code using modern concepts.
See More
Top
Con
•••
Few examples
See More
Specs
Written in:
TypeScript
Price:
FREE
Top
Pro
•••
Allow access to express middlewares
See More
Top
Pro
•••
Uses Typescript
There is a lot of cool stuff, like decorators, full-fledged object-oriented programming and static types.
See More
Hide
See All
Open Source
Recommend
2
--
Loopback
My Rec
ommendation
for
Loopback
My Recommendation for
Loopback
Add Video or Image
All
3
Experiences
1
Pros
2
Top
Pro
•••
Built-in ACL
Is a must for REST API
See More
FerventManungal's Experience
So Good and fast
See More
Top
Pro
•••
Easy to get a project up and running
Easily and quickly get going.
See More
Hide
See All
Get it
here
Recommend
6
--
Restify
My Rec
ommendation
for
Restify
My Recommendation for
Restify
Add Video or Image
All
3
Pros
2
Cons
1
Top
Pro
•••
Automatic DTrace support
DTrace helps you with troubleshooting and building robust RESTful applications.
See More
Top
Con
•••
Performance is not very optimum
As most of the benchmarks have already revealed, for large inflows of traffic, apps powered by Restify perform below par and are easily beaten by Express.js in terms of load time (in heavy traffic).
See More
Top
Pro
•••
Specialized for Restful APIs
As the name suggests, Restify is devoted solely to creating an elegant REST API. The API is the core of your site or service, so it makes sense to use a framework that excels at that.
See More
Hide
See All
Get it
here
Recommend
4
--
Adonisjs
My Rec
ommendation
for
Adonisjs
My Recommendation for
Adonisjs
Add Video or Image
All
7
Pros
6
Specs
Top
Pro
•••
Option for full-stack or api standalone implementation
You can choose to use the full-stack version or if you wish to build a RESTful API you can choose to use the api standalone version.
See More
Specs
Language:
JavaScript
Top
Pro
•••
Easy to learn, especially if you're already familiar with Laravel
See More
Top
Pro
•••
Very good documentation
See More
Top
Pro
•••
Built-in modules for everything
There are built-in modules for everything: Auth, Social Auth, mailing ect
See More
Top
Pro
•••
Based on Laravel PHP Framework
If you are already programming in PHP with Laravel, you will have no trouble starting development with Node using Adonis.
See More
Top
Pro
•••
Similar to Rails
See More
Hide
See All
Get it
here
Recommend
1
--
rest-hapi
My Rec
ommendation
for
rest-hapi
My Recommendation for
rest-hapi
Add Video or Image
All
1
Experiences
1
FerventManungal's Experience
I work only MongoDB!
See More
Hide
Free
Recommend
1
Don't see your favorite option? Add it.
I Recommend...
Built By the Slant team
Find the best product instantly.
4.7 star rating
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now - it's free
One sec!
Are you sure that you want to abandon your hard work?
Delete Work
Continue working
{}
undefined
url next
price drop