Controllers in NestJS
Controllers represent the entry and external communication layer in a backend architecture built with NestJS. In this guide, we will explore their architectural foundations, the HTTP request lifecycle, and advanced features for designing robust, typed, and decoupled REST APIs.
Pipes and Validators in NestJS
Pipes are core architectural components in the request lifecycle of NestJS. They operate on incoming method arguments before the route handler is invoked, fulfilling two critical purposes: data transformation and validation.
Testing Guide in NestJS
Automated testing is a core pillar of modern software engineering. In NestJS, its Dependency Injection (DI) based architecture makes isolating, mocking, and verifying components predictable and reproducible.
Slides of the Week
Official presentation slides for Week 6: REST Controllers, HTTP Request Lifecycle, Transformation and Validation Pipes with DTOs, and Unit and Integration Testing with Jest and Supertest in NestJS.