Express VS Nest

Compare Express vs Nest and see what are their differences.


Fast, unopinionated, minimalist web framework for node. (by expressjs)


A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) 🚀 (by nestjs)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
Express Nest
395 176
57,467 48,065
1.1% 3.4%
8.9 9.9
about 5 hours ago 2 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Express. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-28.


Posts with mentions or reviews of Nest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-28.
  • NestJS vs. Express.js
    3 projects | | 28 Jun 2022
    Nest.js follows closely behind. It has over 47,000 stars on Github, ranking second among the top Node.js frameworks by Github stars.
  • Why use express over JSON-server?
    3 projects | | 25 Jun 2022
    You're right, using express requires that you to write a lot of code to get the same functionality as json-server because express is library to build web servers, but it's more flexible and powerful than json-server, so express is quiet popular to build REST API with node, also you can search for more framework-like projects to build API with node.js like Nest.js, Feathers, Adonis or something more user-friendly like Strapi which give you a UI to define your API
  • Postgres module for NestJS 8.x framework 😻
    2 projects | | 25 Jun 2022
    In this post I will explain how to use my Node PostgreSQL module for NestJS 😻. For those unfamiliar or unfamiliar with NestJS, it is a TypeScript Node.js framework that helps you build efficient and scalable enterprise-grade Node.js applications.
  • How to build an ecommerce app with NestJS
    5 projects | | 23 Jun 2022
    By default, NestJS uses Express under the hood, although you have the option to use Fastify instead. Nest provides a solid application architecture, while Express and Fastify are strong HTTP server frameworks with a myriad of features for app development.
  • Using Node.js and AWS to build/deploy a login system, how should I do this?
    3 projects | | 22 Jun 2022
    The main ones I've used are Feathers.js, NestJS and KeystoneJS. I've used Feathers more and it comes set up with user authentication pretty much out of the box. Keystone also comes with user auth already set up, but is GraphQL only. (Feathers and Nest can do either REST or GraphQL.)
  • A better way to create Swagger Docs for Koa APIs with decorators?
    1 project | | 20 Jun 2022
    So, I had to setup swagger docs for a Koa API recently and I had to cram a lot of information and definitions into comments for the swagger-jsdoc tool to extract. As a developer who has used NestJS and is familiar with the ease at which you can create Swagger docs, I disliked this experience. I did check for some alternatives and found one notable package koa-swagger-decorator but why not re-invent the wheel 😃? I just wanted to code this myself... Thankfully, I got something usable without too much effort but this could easily have turned into a bad situation where I just wasted time and effort instead of using an existing solution.
  • decorators
    2 projects | | 17 Jun 2022
    Here's the basic decorators
  • The best spaced-repetition platform that is seamlessly integrated with Youtube
    5 projects | | 13 Jun 2022
    You are right, we have programmed the app with Flutter and are very happy with the framework. Two years ago, when we started, many libraries were still missing in the community, especially the text editors were problematic. That's why I contributed a lot to the community to improve the status. At the moment I am very excited about the libraries SuperEditor and VisualEditor. Otherwise, the tooling with Flutter is excellent and it's a lot of fun to program with it. We programmed the server with NestJS, use a PostgreSQL database and GraphQL as the query language.
  • Node.js vs. Python: How to choose the best technology to develop your backend
    15 projects | | 8 Jun 2022
    Node was developed by Ryan Dahl and was released in 2009, becoming an instant hit as it allowed JavaScript developers to write JavaScript code outside the web browser for the first time. Over the years, it has grown and become a strong contender to older languages like Python, and offers a bunch of tools for backend development, such as Express.js, Fastify, and NestJS.
  • How to setup an end to end test for NestJS with Typeorm?
    3 projects | | 7 Jun 2022
    Yes, it's necessary to start the server to accept the requests from supertest, in fact, supertest will start the server; there isn't other way to do integration test with nest.js yet

What are some alternatives?

When comparing Express and Nest you can also consider the following projects:

Next.js - The React Framework

loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.

SailsJS - Realtime MVC Framework for Node.js

feathers - The API and real-time application framework

Koa - Expressive middleware for node.js using ES2017 async functions

Hapi - The Simple, Secure Framework Developers Trust

Moleculer - :rocket: Progressive microservices framework for Node.js

Nuxt.js - The Intuitive Vue(2) Framework

SvelteKit - The fastest way to build Svelte apps

AdonisJs Application

Django - The Web framework for perfectionists with deadlines.

Ts.ED - :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone.