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.
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Matching moments
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
06:47 MIN
Solving date and time issues with the Temporal API
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
Featured Partners
Related Videos
Next, Nest, Nuxt… Nust?
Marius Obert
4 Steps from JavaScript to TypeScript
Phil Nash
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
Nathalia Rus
Nuxt.js - Just Vue 3 and a bit of magic?
Alexander Lichter
Building Better with Nuxt 3
Daniel Roe
Lies we Tell Ourselves As Developers
Stefan Baumgartner
Advanced Typing in TypeScript
Lars Hupel
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript


adesso SE
Paderborn, Germany
Remote
JIRA
NoSQL
Scrum
NestJS
+7



eequ
Brighton and Hove, United Kingdom
Remote
£60-70K
Senior
MySQL
NestJS
Node.js
+3

Nestlé
Barcelona, Spain
Remote
Intermediate
JavaScript
Agile Methodologies
Software Architecture
Continuous Integration

BUERO LERSCH
Dresden, Germany
Remote
€60-70K
Intermediate
PHP
HTML
Linux
+7

Sept Lieues
Paris, France
€65-70K
Go
C++
Java
Vue.js
+9