Nest.js Controllers Tutorial
Vložit
- čas přidán 9. 07. 2024
- Web Dev Roadmap for Beginners (Free!): 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.
💖 Support me on Patreon ➜ / davegray
⭐ Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: bit.ly/CompleteNodeJS
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ courses.davegray.codes/
❓ Questions - Please post them to my Discord ➜ / discord
☕ Buy Me A Coffee ➜ www.buymeacoffee.com/davegray
👇 Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: / yesdavidgray
LinkedIn: / davidagray
🔗 Source Code: github.com/gitdagray/nestjs-c...
🔗 Playlist for this NestJS Series: • NestJS Tutorials for B...
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: nestjs.com
🔗 Node.js Official Site: 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
Thank you!, i've just finished the Typescript 9 hours tutorial, i will continue with this one!
Nice one, Dave. Tools like NestJS and Adonis are undervalued by the JS community IMO. They are enormously productive and powerful tools providing a developer experience that the likes of Express simply can’t match.
I am already addicted to your NestJS tutorial. Thank you very much
Thank you !!!! Eagerly awaiting the next chapter of this video series.🥰
So excited for this! Have been thinking of diving into NestJS lately! The timing of this series is spot on for me lol. Thanks Dave!!!!
There are so many tutorials for Nest.js here in youtube, but it is much better when your favourite teacher is doing a tutorial series about it! Thank you Dave!
Thank you Dave, this course is great!
Thanks Mr Dave for your hard work and dedication to helping us improve our skills 🙏🙏
Thanks Dave. Great tutorials
Amazing. I need this so much now
Cheers - look forward to the rest of the course.
Thank you very much Dave
You help people so much! 🙏
Amazing course
Really looking forward to the rest, had to start learning Nest for work a month ago and there are so few resources for Nest on CZcams or elsewhere!
Thanks Dave for the video
You’re really amazing ❤❤❤
Quality content ❤
Fantastico !
nestjs is well complemented by your coverage. You can read the docs, and you should but your tutorials are pragmatic and real
I guess your covering the building blocks, having done controllers, I guess modules, services etc., might you be doing swagger at all, I found this to work well with NestJS , similar to how FastAPI does this almost out of the box, making NestJS in my thinking as attractive as FastAPI for getting a lot done with less wrangling. I've found though that some other api frameworks maybe don't support this as directly and rely on 3rd party tooling. The experience of NestJS is generally a good one I've found and benefits all the more by your videos on this, which as ever are excellent. Thanks again Dave.
As this is your course. I have to complete it 😼
Your voice and way you teaching are awesome like your baby face ❤🎉 greetings
Hi Dave, enjoyed your lectures on Nest js, can you also add nest js integration with GraphQL in your future courses?
Thank you🎉❤
Thanks for the tutorial, really helpful !
ps: Which VsCode theme are you using ?
which VS code extension do you use for auto complete for example in 6:14?
Thank you Dave, I've never learned Nest JS but I've learned typescript in your playlist, it's time to use typescript in the backend, will this playlist be up to hosting and deployment the application?
Absolutely. I plan to deploy the REST API with a host.
I would like to see very strong secure authenitacion with best practice and with all great features like email confirmation reset and forget password etc. in this series.
Yeah like, the Nest community uses Passport, which the express community derides as unmaintained...or maybe the Nest version is fine?
The next course on Nuxt 3 please
Hi dave can you do fastAPI tutorial ?
Thx
Which VS Code theme do you use?
material-icon-theme and enable the nest icons in your user settings: "material-icon-theme.activeIconPack": "nest"
Boom 👌❤️
Are you going to use Prisma ORM or TypeORM? I would rather see a Prisma ORM, because there a lot of tutorials with TypeORM in YT so far.
Yes, I'm thinking Prisma. Good docs, stable releases, and it has demand. I may cover other ORMs in the future, too.
Hello Dave,
First huge apprecian for ur great videos,
Save, I have spent many hours on React with ur course and others , I write codes with great confidence and now I m finishing ur node course , I do coding complete by my self and enjoy it.
But I feel still has something to know absolutely I know and believe codin has no end and we must be update that's why I m learning Zustand .
But in job offer I see something different like postman , we socket and ...
as my instructor , what are the next for me , I have a bit info about them but .. I m confused...
It sounds like you're doing great. I have a link in the description of my videos for my web dev roadmap. If you wonder what I recommend next, take a look at that map first.
love your channel♥️
I have a question in rtk query
Would you please help me, how to prevent rtk from calling invalidatesTags if error happens?! Why rtk calls getAll api when error happens in add? How to prevent that?😅
can you make a video about discord clone with nestjs + nextjs 14 sir?