Nest.js Crash Course : A Comprehensive Step-by-Step Tutorial

preview_player
Показать описание


Then, we'll go deeper into controllers and services, learning how to handle requests and responses from clients and create reusable business logic, respectively. We'll also cover modules, how they organize our code, and make it more modular.

Next, we'll dive into connecting to a PostgreSQL database using TypeORM, a powerful Object Relational Mapper (ORM) that makes database interactions seamless. You'll learn how to set up the database within a docker container, create tables, and query data using TypeORM.

Content:
0:00 Intro
2:35 Explaining file structure and modules
6:02 Controllers
10:34 Defining the params for API routes
12:45 Accessing to the body of requests
14:24 DTO: Data Transfer Object
17:20 Validation Pipe :How we can validate the body object of a request
21:38 Services and dependency injection
27:38 Injecting (using) a service to another module
32:03 Setting up PostgreSQL DB with docker compose
36:23 Creating entity models with TypeORM
40:04 Defining DB triggers for PostgreSQL with TypeORM
48:24 Creating relationships between entities
57:02 Injecting and using the TypeORM repositories for Entities in services and doing CRUD to DB with ease
Рекомендации по теме
Комментарии
Автор

I recommend anyone who has just started learning NextJS for the first time, This video is better than everyone else

azizbek
Автор

Amazing steps to next js.. pls make huge playlists by creating large application with Nest js and angular 🎉

viralmoney
Автор

This was a brilliant video. Using docker was a nice touch. thanks for this. Look forward to the authentication video

evanskwofie
Автор

very helpful course.. please make more detailed videos on Nest Js

rayhankabir
Автор

Amazing tutorial… thanks a lot 🔥🔥🔥💯 can you create some real project with this tools please?

Mahadev-xu
Автор

Superb Tutorial Best Explanation i have 7 years of experience in web development i recommend this to anyone

hamzaashraf
Автор

Amazing tutorial. Thank you for sharing

mehmetbagci
Автор

Thank you for creating this very helpful crash cource 👍

hmkashifali
Автор

Awesome. Thank you so much for crash course video and you explain so clear.

kritsana
Автор

Thanks for sharing, one of the best crash course regarding NestJs

xIslamTaha
Автор

Thank you so much for a step-by-step explanation.

furkanc
Автор

It's a useful crash course of Nestjs whether For Recap Or Learning.

SiavashSol
Автор

very good video. keep up the good works.

quamzgraphix
Автор

what a cool tutorial, i wonder if you have a tutorial setting up cicd for your nest app to aws ?

ezramollena
Автор

Good job! Will your next video for nests +prisms tutorial

西边皆通
Автор

Great tutorial! I would like your opinion on using Prisma over Typeorm ? Looking forward for future videos like this!

fvagvTV
Автор

Thank you so much. Can u make more video about Nest?

tanhoangtrong
Автор

🔊

Since OP is using Docker for DB connection, please stop your locally installed postgres, otherwise you would get testDB database does not exist.

lmessi
Автор

I would really appreciate it if you can do a video about how to dockerize react/next apps

quamzgraphix
Автор

Hello Sakura can you please make a crash course or something on GraphQl .I have learnt Axios and Fetch Api after that
tried to learn Graph Ql but failed miserably as all the stuff is outdated .

prashlovessamosa