---
title: "NestJS: the Node.js framework inspired by Angular"
description: "NestJS 1.0 (May 2017) by Kamil Myśliwiec: TypeScript-first Node.js framework with decorators, DI, modules inspired by Angular and Spring. Based on Express or Fastify. Standard for TypeScript enterprise APIs."
url: "https://www.noze.it/en/insights/nestjs-1-0/"
lang: "en"
alternate: "https://www.noze.it/insights/nestjs-1-0/"
published: "2018-03-15"
author: "noze S.r.l."
keywords: "Open Source, Web, NestJS, Node.js, TypeScript, Kamil Myśliwiec, Backend"
---

# NestJS: the Node.js framework inspired by Angular

NestJS 1.0 (May 2017) by Kamil Myśliwiec: TypeScript-first Node.js framework with decorators, DI, modules inspired by Angular and Spring. Based on Express or Fastify. Standard for TypeScript enterprise APIs.

15 March 2018

## Express not enough for large projects

**Express** (2010) is minimal; freedom becomes a burden in enterprise TypeScript codebases of tens of thousands of lines. An **opinionated** structure is needed with:

- Modules
- Dependency injection
- Decorators for routing/middleware
- Controller/service/repository separation

The pattern is familiar to those coming from **Angular** (frontend) or **Spring Boot** (Java).

## The release

**NestJS** was born in **February 2017** from **Kamil Myśliwiec** (Polish developer) as a reaction to the lack of a structured Angular/Spring-style Node framework; the first publicly tagged release is **v4.4.0 on 23 November 2017**. **MIT** licence. TypeScript-first, built on **Express** (default) or **Fastify** (option). Full-stack with modules for WebSocket, GraphQL, Microservices, Event-driven.

```
@Controller('users')
export class UsersController {
  constructor(private readonly usersService: UsersService) {}

  @Get(':id')
  async findOne(@Param('id') id: string) {
    return this.usersService.findOne(id);
  }
}
```

## Features

- **Decorator-based** — `@Controller`, `@Get`, `@Injectable`, `@Module`, `@Param`
- **DI container** — inversion of control like Angular/Spring
- **Modular** — reusable modules with `@Module({ imports, providers, controllers })`
- **Pipes** — input validation and transformation (class-validator)
- **Guards** — authorisation (JWT, roles)
- **Interceptors** — logging, cache, response mapping
- **Exception filters** — centralised error handling
- **Middleware** — Express-compatible
- **CLI** `nest generate module users` — scaffolding

## Integrated modules

- **@nestjs/typeorm** / **@nestjs/sequelize** / **@nestjs/mongoose** / **@nestjs/prisma** — ORMs
- **@nestjs/graphql** — code-first GraphQL
- **@nestjs/microservices** — Redis, NATS, Kafka, gRPC, RabbitMQ
- **@nestjs/websockets** — Socket.IO, ws
- **@nestjs/bull** — job queues
- **@nestjs/swagger** — OpenAPI generation
- **@nestjs/passport** — 500+ auth strategies
- **@nestjs/jwt** — JSON Web Tokens
- **@nestjs/schedule** — cron jobs

## Use cases

- Enterprise **REST/GraphQL APIs**
- **Microservices** with message broker
- **BFF** (Backend for Frontend)
- **Real-time servers** with WebSocket
- **GraphQL gateways**

## In the Italian context

NestJS is entering Italian TypeScript-first teams: fintech startups, enterprise agencies migrating from Java/PHP to Node TS, B2B SaaS and first digital-PA projects.

Update — 2025

Version evolution: **5.0** (major refactor, July 2018), **7.0** (improved DI, event-driven, February 2020), **8.0** (Fastify 3, TypeScript 4.3, July 2021), **10.0** (Node 16+, TypeScript 5, June 2023), **11.0** (Node 20+, async context storage, January 2025). NestJS consolidates as the reference Node.js framework where rigorous structure and experienced TypeScript teams are required.

---

_References: NestJS (started February 2017, first tagged release v4.4.0 on 23 November 2017). Kamil Myśliwiec. MIT licence. Inspired by Angular and Spring. Based on Express or Fastify. @nestjs/_ ecosystem for GraphQL, Microservices, WebSocket, Swagger.\*
