Alternatives to Restify logo

Alternatives to Restify

Koa, hapi, Flask, ExpressJS, and Fastify are the most popular alternatives and competitors to Restify.
80
1

What is Restify and what are its top alternatives?

A Node.js web service framework optimized for building semantically correct RESTful web services ready for production use at scale. it optimizes for introspection and performance.
Restify is a tool in the Microframeworks (Backend) category of a tech stack.
Restify is an open source tool with GitHub stars and GitHub forks. Here’s a link to Restify's open source repository on GitHub

Top Alternatives to Restify

  • Koa
    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. ...

  • hapi
    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. ...

  • Flask
    Flask

    Flask is intended for getting started very quickly and was developed with best intentions in mind. ...

  • ExpressJS
    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. ...

  • Fastify
    Fastify

    Fastify is a web framework highly focused on speed and low overhead. It is inspired from Hapi and Express and as far as we know, it is one of the fastest web frameworks in town. Use Fastify can increase your throughput up to 100%. ...

  • Feathers
    Feathers

    Build mobile & desktop games and apps with fully-skinnable UI controls. It aims for buttery smooth performance based on the philosophy that cross-platform UI kits shouldn't sacrifice one of the most important benefits of native development. ...

  • LoopBack
    LoopBack

    A highly-extensible, open-source Node.js framework that enables you to create dynamic end-to-end REST APIs with little or no coding. Connect to multiple data sources, write business logic in Node.js, glue on top of your existing services and data, connect using JS, iOS & Android SDKs. ...

  • NestJS
    NestJS

    Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming). Under the hood, Nest makes use of Express, but also, provides compatibility with a wide range of other libraries, like e.g. Fastify, allowing for easy use of the myriad third-party plugins which are available. ...

Restify alternatives & related posts

Koa logo

Koa

724
483
12
Next generation web framework for node.js
724
483
+ 1
12
PROS OF KOA
  • 6
    Async/Await
  • 5
    JavaScript
  • 1
    REST API
CONS OF KOA
    Be the first to leave a con

    related Koa posts

    ReactQL is a React + GraphQL front-end starter kit. #JSX is a natural way to think about building UI, and it renders to pure #HTML in the browser and on the server, making it trivial to build server-rendered Single Page Apps. GraphQL via Apollo was chosen for the data layer; #GraphQL makes it simple to request just the data your app needs, and #Apollo takes care of communicating with your API (written in any language; doesn't have to be JavaScript!), caching, and rendering to #React.

    ReactQL is written in TypeScript to provide full types/Intellisense, and pick up hard-to-diagnose goofs that might later show up at runtime. React makes heavy use of Webpack 4 to handle transforming your code to an optimised client-side bundle, and in throws back just enough code needed for the initial render, while seamlessly handling import statements asynchronously as needed, making the payload your user downloads ultimately much smaller than trying to do it by hand.

    React Helmet was chosen to handle <head> content, because it works universally, making it easy to throw back the correct <title> and other tags on the initial render, as well as inject new tags for subsequent client-side views.

    styled-components, Sass, Less and PostCSS were added to give developers a choice of whether to build styles purely in React / JavaScript, or whether to defer to a #css #preprocessor. This is especially useful for interop with UI frameworks like Bootstrap, Semantic UI, Foundation, etc - ReactQL lets you mix and match #css and renders to both a static .css file during bundling as well as generates per-page <style> tags when using #StyledComponents.

    React Router handles routing, because it works both on the server and in the client. ReactQL customises it further by capturing non-200 responses on the server, redirecting or throwing back custom 404 pages as needed.

    Koa is the web server that handles all incoming HTTP requests, because it's fast (TTFB < 5ms, even after fully rendering React), and its natively #async, making it easy to async/await inside routes and middleware.

    See more
    Antonio Kobashikawa
    Web developer | Blogger | Freelancer at Rulo Kobashikawa · | 6 upvotes · 240.6K views

    We are using Node.js and ExpressJS to build a REST services that is middleware of a legacy system. MongoDB as database. Vue.js helps us to make rapid UI to test use cases. Frontend is build for mobile with Ionic . We like using JavaScript and ES6 .

    I think next step could be to use Koa but I am not sure.

    See more
    hapi logo

    hapi

    433
    455
    87
    Server Framework for Node.js
    433
    455
    + 1
    87
    PROS OF HAPI
    • 27
      Makes me Hapi making REST APIs
    • 14
      Simpler than other REST libraries
    • 14
      Configuration
    • 13
      Quality Driven Ecosystem
    • 13
      Modularization
    • 5
      Easy testability
    • 1
      Better validation
    • 0
      Restify
    CONS OF HAPI
      Be the first to leave a con

      related hapi posts

      Tim Nolet

      Heroku Docker GitHub Node.js hapi Vue.js AWS Lambda Amazon S3 PostgreSQL Knex.js Checkly is a fairly young company and we're still working hard to find the correct mix of product features, price and audience.

      We are focussed on tech B2B, but I always wanted to serve solo developers too. So I decided to make a $7 plan.

      Why $7? Simply put, it seems to be a sweet spot for tech companies: Heroku, Docker, Github, Appoptics (Librato) all offer $7 plans. They must have done a ton of research into this, so why not piggy back that and try it out.

      Enough biz talk, onto tech. The challenges were:

      • Slice of a portion of the functionality so a $7 plan is still profitable. We call this the "plan limits"
      • Update API and back end services to handle and enforce plan limits.
      • Update the UI to kindly state plan limits are in effect on some part of the UI.
      • Update the pricing page to reflect all changes.
      • Keep the actual processing backend, storage and API's as untouched as possible.

      In essence, we went from strictly volume based pricing to value based pricing. Here come the technical steps & decisions we made to get there.

      1. We updated our PostgreSQL schema so plans now have an array of "features". These are string constants that represent feature toggles.
      2. The Vue.js frontend reads these from the vuex store on login.
      3. Based on these values, the UI has simple v-if statements to either just show the feature or show a friendly "please upgrade" button.
      4. The hapi API has a hook on each relevant API endpoint that checks whether a user's plan has the feature enabled, or not.

      Side note: We offer 10 SMS messages per month on the developer plan. However, we were not actually counting how many people were sending. We had to update our alerting daemon (that runs on Heroku and triggers SMS messages via AWS SNS) to actually bump a counter.

      What we build is basically feature-toggling based on plan features. It is very extensible for future additions. Our scheduling and storage backend that actually runs users' monitoring requests (AWS Lambda) and stores the results (S3 and Postgres) has no knowledge of all of this and remained unchanged.

      Hope this helps anyone building out their SaaS and is in a similar situation.

      See more
      Tim Nolet

      JavaScript Node.js hapi Vue.js Swagger UI Slate

      Two weeks ago we released the public API for Checkly. We already had an API that was serving our frontend Vue.js app. We decided to create an new set of API endpoints and not reuse the already existing one. The blog post linked below details what parts we needed to refactor, what parts we added and how we handled generating API documentation. More specifically, the post dives into:

      • Refactoring the existing Hapi.js based API
      • API key based authentication
      • Refactoring models with Objection.js
      • Validating plan limits
      • Generating Swagger & Slate based documentation
      See more
      Flask logo

      Flask

      19K
      16K
      66
      A microframework for Python based on Werkzeug, Jinja 2 and good intentions
      19K
      16K
      + 1
      66
      PROS OF FLASK
      • 10
        For it flexibility
      • 9
        Flexibilty and easy to use
      • 8
        Flask
      • 7
        User friendly
      • 6
        Secured
      • 5
        Unopinionated
      • 2
        Secure
      • 1
        Customizable
      • 1
        Simple to use
      • 1
        Powerful
      • 1
        Rapid development
      • 1
        Beautiful code
      • 1
        Easy to develop and maintain applications
      • 1
        Easy to setup and get it going
      • 1
        Easy to use
      • 1
        Documentation
      • 1
        Python
      • 1
        Minimal
      • 1
        Lightweight
      • 1
        Easy to get started
      • 1
        Orm
      • 1
        Not JS
      • 1
        Perfect for small to large projects with superb docs.
      • 1
        Easy to integrate
      • 1
        Speed
      • 1
        Get started quickly
      • 0
        Open source
      • 0
        Well designed
      • 0
        Flexibilty
      • 0
        Productive
      • 0
        Awesome
      • 0
        Expressive
      • 0
        Love it
      CONS OF FLASK
      • 10
        Not JS
      • 7
        Context
      • 5
        Not fast
      • 1
        Don't has many module as in spring

      related Flask posts

      James Man
      Software Engineer at Pinterest · | 47 upvotes · 2.8M views
      Shared insights
      on
      FlaskFlaskReactReact
      at

      One of our top priorities at Pinterest is fostering a safe and trustworthy experience for all Pinners. As Pinterest’s user base and ads business grow, the review volume has been increasing exponentially, and more content types require moderation support. To solve greater engineering and operational challenges at scale, we needed a highly-reliable and performant system to detect, report, evaluate, and act on abusive content and users and so we created Pinqueue.

      Pinqueue-3.0 serves as a generic platform for content moderation and human labeling. Under the hood, Pinqueue3.0 is a Flask + React app powered by Pinterest’s very own Gestalt UI framework. On the backend, Pinqueue3.0 heavily relies on PinLater, a Pinterest-built reliable asynchronous job execution system, to handle the requests for enqueueing and action-taking. Using PinLater has significantly strengthened Pinqueue3.0’s overall infra with its capability of processing a massive load of events with configurable retry policies.

      Hundreds of millions of people around the world use Pinterest to discover and do what they love, and our job is to protect them from abusive and harmful content. We’re committed to providing an inspirational yet safe experience to all Pinners. Solving trust & safety problems is a joint effort requiring expertise across multiple domains. Pinqueue3.0 not only plays a critical role in responsively taking down unsafe content, it also has become an enabler for future ML/automation initiatives by providing high-quality human labels. Going forward, we will continue to improve the review experience, measure review quality and collaborate with our machine learning teams to solve content moderation beyond manual reviews at an even larger scale.

      See more

      Hey, so I developed a basic application with Python. But to use it, you need a python interpreter. I want to add a GUI to make it more appealing. What should I choose to develop a GUI? I have very basic skills in front end development (CSS, JavaScript). I am fluent in python. I'm looking for a tool that is easy to use and doesn't require too much code knowledge. I have recently tried out Flask, but it is kinda complicated. Should I stick with it, move to Django, or is there another nice framework to use?

      See more
      ExpressJS logo

      ExpressJS

      32K
      23.6K
      1.6K
      Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple
      32K
      23.6K
      + 1
      1.6K
      PROS OF EXPRESSJS
      • 381
        Simple
      • 336
        Node.js
      • 244
        Javascript
      • 193
        High performance
      • 152
        Robust routing
      • 73
        Middlewares
      • 72
        Open source
      • 59
        Great community
      • 37
        Hybrid web applications
      • 16
        Well documented
      • 9
        Sinatra inspired
      • 9
        Rapid development
      • 7
        Isomorphic js.. superfast and easy
      • 7
        Socket connection
      • 5
        Light weight
      • 4
        Npm
      • 4
        Resource available for learning
      • 3
        Callbacks
      • 3
        Event loop
      • 2
        Data stream
      • 1
        Easy to use
      CONS OF EXPRESSJS
      • 27
        Not python
      • 17
        Overrated
      • 14
        No multithreading
      • 9
        Javascript
      • 5
        Not fast
      • 3
        Easily Insecure for Novices

      related ExpressJS posts

      Anurag Maurya

      Needs advice on code coverage tool in Node.js/ExpressJS with External API Testing Framework

      Hello community,

      I have a web application with the backend developed using Node.js and Express.js. The backend server is in one directory, and I have a separate API testing framework, made using SuperTest, Mocha, and Chai, in another directory. The testing framework pings the API, retrieves responses, and performs validations.

      I'm currently looking for a code coverage tool that can accurately measure the code coverage of my backend code when triggered by the API testing framework. I've tried using Istanbul and NYC with instrumented code, but the results are not as expected.

      Could you please recommend a reliable code coverage tool or suggest an approach to effectively measure the code coverage of my Node.js/Express.js backend code in this setup?

      See more
      Collins Ogbuzuru
      Front-end dev at Evolve credit · | 38 upvotes · 258.6K views

      Your tech stack is solid for building a real-time messaging project.

      React and React Native are excellent choices for the frontend, especially if you want to have both web and mobile versions of your application share code.

      ExpressJS is an unopinionated framework that affords you the flexibility to use it's features at your term, which is a good start. However, I would recommend you explore Sails.js as well. Sails.js is built on top of Express.js and it provides additional features out of the box, especially the Websocket integration that your project requires.

      Don't forget to set up Graphql codegen, this would improve your dev experience (Add Typescript, if you can too).

      I don't know much about databases but you might want to consider using NO-SQL. I used Firebase real-time db and aws dynamo db on a few of my personal projects and I love they're easy to work with and offer more flexibility for a chat application.

      See more
      Fastify logo

      Fastify

      426
      516
      95
      Fast and low overhead web framework, for Node.js
      426
      516
      + 1
      95
      PROS OF FASTIFY
      • 21
        Performance
      • 13
        Easy to use
      • 12
        Lightweight
      • 9
        Open source
      • 9
        Middleware
      • 6
        Highly customizable
      • 4
        Developer friendly
      • 4
        Decorators
      • 4
        Low overhead
      • 4
        Built-in Typescript support
      • 3
        Mature
      • 3
        Schema based
      • 3
        Plugins
      CONS OF FASTIFY
      • 1
        Small community

      related Fastify posts

      Paul Whittemore
      Developer and Owner at Appurist Software · | 15 upvotes · 1.1M views

      I'm building most projects using: Server: either Fastify (all projects going forward) or ExpressJS on Node.js (existing, previously) on the server side, and Client app: either Vuetify (currently) or Quasar Framework (going forward) on Vue.js with vuex on Electron for the UI to deliver both web-based and desktop applications for multiple platforms.

      The direct support for Android and iOS in Quasar Framework will make it my go-to client UI platform for any new client-side or web work. On the server, I'll probably use Fastly for all my server work, unless I get into Go more in the future.

      Update: The mobile support in Quasar is not a sufficiently compelling reason to move me from Vuetify. I have decided to stick with Vuetify for a UI for Vue, as it is richer in components and enables a really great-looking professional result. For mobile platforms, I will just use Cordova to wrap the Vue+Vuetify app for mobile, and Electron to wrap it for desktop platforms.

      See more
      Paul Whittemore
      Developer and Owner at Appurist Software · | 1 upvote · 212K views
      Shared insights
      on
      FastifyFastifyKoaKoaExpressJSExpressJS

      Will base most server-side APIs on Fastify . Smaller, faster, easier. Faster than Koa; and twice as fast as ExpressJS.

      See more
      Feathers logo

      Feathers

      44
      41
      0
      Open source user interface components for Starling Framework or OpenFL
      44
      41
      + 1
      0
      PROS OF FEATHERS
        Be the first to leave a pro
        CONS OF FEATHERS
          Be the first to leave a con

          related Feathers posts

          LoopBack logo

          LoopBack

          288
          556
          33
          Build modern API applications that require complex integrations
          288
          556
          + 1
          33
          PROS OF LOOPBACK
          • 11
            Need a nodejs ReST-API, DB, AAA, Swagger? Then loopback
          • 9
            Easy Database Migration
          • 6
            Code generator
          • 4
            The future of API's
          • 2
            GraphQL
          • 1
            Typescript
          CONS OF LOOPBACK
          • 7
            Community is slow
          • 1
            Backward compatibility

          related LoopBack posts

          Priit Kaasik
          CTO at Katana Cloud Inventory · | 8 upvotes · 490.3K views

          We undertook the task of building a manufacturing ERP for small branded manufacturers. We needed to build a lot, fast with a small team, and have clear focus on product delivery. We chose JavaScript / Node.js ( React + LoopBack full stack) , Heroku and Heroku Postgres (also Heroku Redis ) . This decision has guided us to picking other key technologies. It has granted us high pace of product delivery and service availability while operating with a small team.

          See more

          We have an existing (Apis only) Rails backend, that by default follows the MVC pattern, (at peaks of 700 requests a second). I am tasked with making the same (read-heavy) application in any JavaScript framework. I was advised to follow the MVC structure. So I am considering these 3 ( Sails.js, LoopBack, NestJS). I get that sails is closest to rails, but that's not particularly a priority.

          See more
          NestJS logo

          NestJS

          2.5K
          2.9K
          326
          A progressive Node.js framework for building efficient and scalable server-side applications by @kammysliwiec.
          2.5K
          2.9K
          + 1
          326
          PROS OF NESTJS
          • 54
            Powerful but super friendly to work with
          • 42
            Fast development
          • 40
            Easy to understand documentation
          • 36
            Angular style syntax for the backend
          • 32
            NodeJS ecosystem
          • 31
            Typescript
          • 27
            Its easy to understand since it follows angular syntax
          • 18
            Good architecture
          • 13
            Integrates with Narwhal Extensions
          • 12
            Typescript makes it well integrated in vscode
          • 8
            Graphql support easy
          • 7
            Agnosticism
          • 5
            Easily integrate with others external extensions
          • 1
            Official courses
          CONS OF NESTJS
          • 10
            Difficult to debug
          • 10
            User base is small. Less help on Stackoverflow
          • 5
            Angular-like architecture
          • 3
            Updates with breaking changes
          • 3
            Javascript
          • 1
            Frontend in backend
          • 1
            Unstable

          related NestJS posts

          Simon Reymann
          Senior Fullstack Developer at QUANTUSflow Software GmbH · | 27 upvotes · 5.1M views

          Our whole Node.js backend stack consists of the following tools:

          • Lerna as a tool for multi package and multi repository management
          • npm as package manager
          • NestJS as Node.js framework
          • TypeScript as programming language
          • ExpressJS as web server
          • Swagger UI for visualizing and interacting with the API’s resources
          • Postman as a tool for API development
          • TypeORM as object relational mapping layer
          • JSON Web Token for access token management

          The main reason we have chosen Node.js over PHP is related to the following artifacts:

          • Made for the web and widely in use: Node.js is a software platform for developing server-side network services. Well-known projects that rely on Node.js include the blogging software Ghost, the project management tool Trello and the operating system WebOS. Node.js requires the JavaScript runtime environment V8, which was specially developed by Google for the popular Chrome browser. This guarantees a very resource-saving architecture, which qualifies Node.js especially for the operation of a web server. Ryan Dahl, the developer of Node.js, released the first stable version on May 27, 2009. He developed Node.js out of dissatisfaction with the possibilities that JavaScript offered at the time. The basic functionality of Node.js has been mapped with JavaScript since the first version, which can be expanded with a large number of different modules. The current package managers (npm or Yarn) for Node.js know more than 1,000,000 of these modules.
          • Fast server-side solutions: Node.js adopts the JavaScript "event-loop" to create non-blocking I/O applications that conveniently serve simultaneous events. With the standard available asynchronous processing within JavaScript/TypeScript, highly scalable, server-side solutions can be realized. The efficient use of the CPU and the RAM is maximized and more simultaneous requests can be processed than with conventional multi-thread servers.
          • A language along the entire stack: Widely used frameworks such as React or AngularJS or Vue.js, which we prefer, are written in JavaScript/TypeScript. If Node.js is now used on the server side, you can use all the advantages of a uniform script language throughout the entire application development. The same language in the back- and frontend simplifies the maintenance of the application and also the coordination within the development team.
          • Flexibility: Node.js sets very few strict dependencies, rules and guidelines and thus grants a high degree of flexibility in application development. There are no strict conventions so that the appropriate architecture, design structures, modules and features can be freely selected for the development.
          See more
          Slimane Deb

          I am currently planning to build a project from scratch. I will be using Angular as front-end framework, but for the back-end I am not sure which framework to use between Spring Boot and NestJS. I have worked with Spring Boot before, but my new project contains a lot of I/O operations, in fact it will show a daily report. I thought about the new Spring Web Reactive Framework but given the idea that Node.js is the most popular on handling non blocking I/O I am planning to start learning NestJS since it is based on Angular philosophy and TypeScript which I am familiar with. Looking forward to hear from you dear Community.

          See more