Maximilian Otto
Nest.js - TypeScript in the backend can also be clean
#1about 3 minutes
The architectural challenges of traditional Node.js backends
Standard Node.js with Express lacks a consistent architecture and built-in dependency injection, leading to inconsistencies across projects.
#2about 3 minutes
An introduction to the Nest.js framework
Nest.js is a popular TypeScript-first backend framework built on Node.js that provides a standardized architecture and uses Express under the hood.
#3about 2 minutes
Understanding the core features and modular architecture
Nest.js offers a powerful command-line interface, built-in validation, dependency injection, and a modular architecture based on controllers and services.
#4about 5 minutes
Scaffolding and exploring a new Nest.js application
Use the Nest CLI to generate a new project and explore the default structure, including the main entry point, controllers, services, and decorators.
#5about 2 minutes
Customizing REST API endpoints and parameters
Modify endpoint behavior by changing routes, setting custom HTTP status codes with `@HttpCode`, and capturing URL parameters using the `@Param` decorator.
#6about 2 minutes
Generating resources and CRUD endpoints with the CLI
Accelerate development by using the `nest g resource` command to scaffold a new module complete with a controller, service, and boilerplate CRUD endpoints.
#7about 4 minutes
Implementing automatic input validation with pipes
Use the built-in `ValidationPipe` and decorators from the `class-validator` package to automatically validate incoming request bodies and DTOs.
#8about 3 minutes
Managing dependencies between different modules
Enable communication between services in different modules by exporting providers from one module and importing that module into another.
#9about 1 minute
Deciding when to use Nest.js for your projects
Nest.js is highly recommended for complex, team-based backend projects using TypeScript, but may be overkill for simple prototypes or small applications.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:22 MIN
Building a full-stack backend with NestJS
Next, Nest, Nuxt… Nust?
06:38 MIN
Comparing Fastify with NestJS and Express
1, 2, 3... Fastify!
03:58 MIN
A full-stack architecture for streaming AI responses
Streaming AI Responses in Real-Time with SSE in Next.js & NestJS
04:25 MIN
Rethinking frameworks with Nuxt, Nitro, and UnJS
Building for the Edge - Crafting a Next-Gen Framework
01:26 MIN
Q&A on Deno's maturity and framework preference
Next, Nest, Nuxt… Nust?
02:37 MIN
Understanding TypeScript's origins and role in scalability
All you need is types
03:57 MIN
Why JavaScript and TypeScript dominate modern development
Modern Headless Commerce with Vendure
01:21 MIN
Final takeaways for building modern TypeScript applications
End-to-End TypeScript: Completing the Modern Development Stack
Featured Partners
Related Videos
Next, Nest, Nuxt… Nust?
Marius Obert
Building Better with Nuxt 3
Daniel Roe
Nuxt.js - Just Vue 3 and a bit of magic?
Alexander Lichter
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
Nathalia Rus
1, 2, 3... Fastify!
Matteo Collina
All you need is types
Tal Joffe
Get ready to Rustle
Marco Otte-Witte
4 Steps from JavaScript to TypeScript
Phil Nash
Related Articles
View all articles


.webp?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.

melibo
Frankfurt am Main, Germany
Intermediate
Senior
NestJS
Node.js
MongoDB
TypeScript

denkwerk GmbH
Köln, Germany
Intermediate
Senior
NestJS
Kubernetes

Peter Park System GmbH
München, Germany
Senior
Python
Docker
Node.js
JavaScript

doinstruct Software GmbH
Berlin, Germany
Senior
GIT
JavaScript
TypeScript

doinstruct Software GmbH
Berlin, Germany
Intermediate
Senior
Node.js

Schulz.codes GmbH
Darmstadt, Germany
Intermediate
Senior
React
JavaScript
TypeScript

autoiXpert GmbH & Co. KG
Stuttgart, Germany
Senior
Node.js
Angular
MongoDB
TypeScript

Peter Park System GmbH
München, Germany
Intermediate
Senior
Python
Node.js
JavaScript

infomax websolutions GmbH
Grassau, Germany
Senior
Vue.js
Angular
JavaScript
TypeScript