NestJS Logo

Platform agnosticism

Nest is a platform-agnostic framework. You can develop reusable logical parts and use them across different types of applications. For example, most components can be reused without change across different underlying HTTP server frameworks (e.g., Express and Fastify), and even across different types of applications (e.g., HTTP servers, microservices with different transport layers, and WebSockets).

Build once, use everywhere#

The Overview section of the documentation primarily shows coding techniques using HTTP server frameworks (e.g., apps providing a REST API or an MVC-style server-side rendered app). However, all those building blocks can be used on top of different transport layers (microservices or WebSockets).

Nest also comes with a dedicated GraphQL module. You can use GraphQL as your API layer interchangeably with a REST API.

In addition, the application context feature lets you build any kind of Node.js application on top of Nest, including cron jobs and CLI apps.

Nest aims to be a full-fledged platform for Node.js apps that brings a higher level of modularity and reusability to your applications. Build once, use everywhere.

Edit on GitHub

Support us

Nest is an MIT-licensed open source project. It can grow thanks to the support of these awesome people. If you'd like to join them, please read more here.

Principal Sponsors

SerpApi LogoTrilon LogoMojam Logo

Sponsors / Partners

Become a sponsor