NestJS logo

NestJS

A progressive Node.js framework for building efficient and scalable server-side applications by @kammysliwiec.
187
197
+ 1
87

What is 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.
NestJS is a tool in the Frameworks (Full Stack) category of a tech stack.
NestJS is an open source tool with 23.3K GitHub stars and 1.8K GitHub forks. Here’s a link to NestJS's open source repository on GitHub

Who uses NestJS?

Companies
35 companies reportedly use NestJS in their tech stacks, including Quero Bolsa, theiconic, and payever.

Developers
147 developers on StackShare have stated that they use NestJS.

Why developers like NestJS?

Here’s a list of reasons why companies and developers use NestJS
NestJS Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose NestJS in their tech stack.

Kevin Vogel
Kevin Vogel
Lead Software Developer at Kargo · | 5 upvotes · 27.9K views
atKargo MyanmarKargo Myanmar
NestJS
NestJS

Since I got good experience with Spring (Java) and Angular ( TypeScript), I was happy when I found NestJS, which got it's inspiration of these both frameworks. It brings Dependency Injection to TypeScript's back-end world, which is super helpful to create high salable and clean projects.

Nest.js Introduction

Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in 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 robust HTTP Server frameworks like Express (the default) and Fastify. Nest provides a level of abstraction above these frameworks, but can also expose their APIs directly to the developer. This allows for easy use of the myriad third-party modules which are available for each platform.

Philosophy

In recent years, thanks to Node.js, JavaScript has become the “lingua franca” of the web for both front and backend applications. This has given rise to awesome projects like Angular, React and Vue, which improve developer productivity and enable the construction of fast, testable, and extensible frontend applications. However, while plenty of superb libraries, helpers, and tools exist for Node (and server-side JavaScript), none of them effectively solve the main problem - architecture.

Nest provides an out-of-the-box application architecture which allows developers and teams to create highly testable, scalable, loosely coupled, and easily maintainable applications.

Source: https://docs.nestjs.com/

See more
Gabriel Pa
Gabriel Pa
CEO at NaoLogic Inc · | 2 upvotes · 27.5K views
atNaologicNaologic
NestJS
NestJS
Node.js
Node.js

We started using NestJS even more and replaced our Node.js IPC for microservices with the native decorator of NestJS . It's more stable, you don't have to worry about connection status and .toPromise() works great. Same for

See more

NestJS's Features

  • Extensible - Gives you true flexibility by allowing use of any other libraries thanks to modular architecture.
  • Versatile - An adaptable ecosystem that is a fully-fledged backbone for all kinds of server-side applications.
  • Progressive - Takes advantage of latest JavaScript features, bringing design patterns and mature solutions to node.js world.

NestJS Alternatives & Comparisons

What are some alternatives to NestJS?
AdonisJS
It is a Node.js Framework which is highly focused on developer ergonomics, stability and confidence.
FeathersJS
Feathers is a real-time, micro-service web framework for NodeJS that gives you control over your data via RESTful resources, sockets and flexible plug-ins.
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.
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.
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.
See all alternatives

NestJS's Followers
197 developers follow NestJS to keep up with related blogs and decisions.
Javier Lete
Ilir Hushi
nicksdev
Ubirajara Rodrigues
Kane Lorprasongsuk
Josh Aros
Miguel Alvarado
Serge Abend
Abanoub Essam
Emre Akça