Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
In this Nest.js Controllers tutorial, you will learn how NestJS manages routing HTTP requests from clients to controllers. Controllers can manage multiple routes in your REST API application.
⭐ Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: https://bit.ly/CompleteNodeJS
- Advanced React: https://bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr
Subscribe https://bit.ly/3nGHmNn
Course Updates https://courses.davegray.codes/
Questions - Please post them to my Discord https://discord.gg/neKghyefqh
Buy Me A Coffee https://www.buymeacoffee.com/davegray
Follow Me On Social Media:
GitHub: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Source Code: https://github.com/gitdagray/nestjs-course
Playlist for this NestJS Series: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6MexSAh5x1R3rU6Mg2zYBVr
Nest.js Controllers Tutorial for Beginners - Series Part 2
(00:00) Intro
(00:05) Welcome
(00:25) Starter Code
(00:43) Quick Review
(02:50) What are Controllers? And how do they work?
(03:38) Controller structure
(06:06) GET Routes
(08:26) Route Order is Important
(12:24) POST Route
(14:38) PATCH Route
(17:04) DELETE Route
(18:15) Query Parameters
Tutorial References:
NestJS Official Site: https://nestjs.com
Node.js Official Site: https://nodejs.org
Was this NestJS Controllers tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#nestjs #controller #tutorial