We are going to see how we can create Controllers, what roles they play, and how the routing mechanism works in NestJS. On top of that, we will see how Nest handles the responses in different ways, and how it supports the native express way of handling Request and Response Objects (req and res)
We will also cover some more features provided by Nest
Timestamps:
---------------------
0:00- Initial files
0:48- What is main.ts?
2:16- Running the Application
2:42- Different Types of Nest Applications
4:38- What is a Controller ?
5:30- Adding Metadata to @Controller
7:05- Adding a path on @Get
8:00- Route Handlers
9:36- Response Handling in NestJs
11:20- Using Express "res"and "req" Objects
13:15- Creating a POST API
14:42- Using @Body()
15:30- More Controller features
17:00- Adding the Controller to a Module
17:55- Recap
Watch video NestJs - Controllers [02] online without registration, duration hours minute second in high quality. This video was added by user Computerix 14 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,73 once and liked it 6 people.