Learn Nest.js from Scratch by building an API
Learn Nest.js from scratch. What is it, why would you use it? And most importantly: How does it work? All answered in this video!
🖥️ Official Website & Courses
academind.com/...
👨💻 Learn Node.js & Angular
acad.link/nodejs
acad.link/angular
📝 Other Resources
academind.com/...
academind.com/...
👋 Social Media
/ maxedapps
/ academind_real
/ academind_real
/ academindchannel
💬 Academind Community on Discord
/ discord
----------
Finished Code: github.com/aca...
----------
Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
Пікірлер: 441
I am 2 mins into this but I wanted to say that the whole reason I'm watching this and not the other NestJS videos on KZread is because of you Max. I have learned so much that has helped me in my career from your videos, and I've paid for several of your courses on Udemy. You are absolutely wonderful, thank you for all you do.
Maximilian is always a rock-star teacher. I have understood a lot more in this short 1 hours video than in other 20 hours courses of different guides. I expect full course about Nest.JS from you. Thanks you so much
This was exactly what I was looking for. I started learning Nest to create some simple APIs for my frontend and I found it very intimidating. Thanks to this tutorial so much stuff became easier. Thank you!
please, NestJS Udemy course.
@academind
5 жыл бұрын
Got no plans right now, but I won't rule it out :)
@Dan-qd9cf
5 жыл бұрын
Was waiting for a Udemy course on this, but guess it won't happen any time soon.
@Ollinho12
5 жыл бұрын
@@academind What are you working on at the moment big man?
@alxizr
5 жыл бұрын
@@academind thank you for the video! would love if you make a complete course of nest js with angular and mongodb.
@amitmalviya6314
5 жыл бұрын
@@academind if you have no plans to make a course just make 5 - 10 videos on it.. Which is really helpful for us.
i LOVE hearing the success stories from Max's students. I too was teaching myself how to code, and back in 2018 I had finished Max's original Angular course, which helped to get my first developer job. I've been developing software since then and I am forever grateful to Max!!!!!!!!!!!! Happy coding all!
I got your angular 8, and other course update from Packt with no additional cost, Thanks a lot. I believe not much content creator can do such a thing as you did. planning to buy another course from you.
@academind
5 жыл бұрын
Thank you so much! I'm very happy that you're enjoying the course!
I see some people asking it already, so I'll just add to the choir: Please make a full-length NestJS Udemy course!
Great video! Especially with the examples. I'm looking forward to more videos on Nest.js
Hello Max, I just want to say a big thank you. I bought your "Angular - The complete guide" Udemy course 3 years ago and it help me land my first job as a developer. Ever since, whenever I want to buy a course to learn somehting new, I first check if you have a course about it. I have bought 6 courses in Udemy created by you. Now I wanted to get into Nest js and at first I was disapointed I didn't find any Academind Nest Js course in Udemy but then I found out that you have these two great, concise, and on-point courses in youtube for free! Man really, I should make you a statue! Anyways I just wanted to express how gratefull I am. Keep up the excelent work!
You're awesome.. You tought me Angular, React, MEAN and now Nest.js .. looks like i have to start wishing you on the teachers day. :P
I used Nest.js a bit at work and I really enjoyed it. You did a great job Max, keep it up!
@academind
5 жыл бұрын
Thanks so much! :)
The instructor is Awesome I started my carer learning from him and yet again after 3 years i am learning from him. ❤️❤️❤️
I mainly work with Django framework, but wanted to learn about Nest js. This is very comprehensive video with clean explanation and what someone who is new needs. Thanks much Max! Cheers!
At 25:00 , May be Worth mentioning that After setting text/html as the header type, response type does show as that in the chrome debugger but if you notice on the served up page on browser there are still quotes around "name". Thats because its a json string. Return type of the method in the controller is still json, its just that browser displays it as a json string.
This was excellent. You explained every concept you introduced very well, and made it easy to understand. Thanks!
This is more than "A Thorough Introduction" as shown title on website. Thank you!
In the Update, you could use the map() array method instead of finding by index and replacing based on the index. Also in the Delete, you could use the filter() array method.
@yashpj2262
Жыл бұрын
how to check if the id we get in params is present in the array ??
never seen tutorial good like this. i understood working with modularity in NestJS
Hey max, It would be really great if you could us guide further including architectural setup for a project, authentication, file upload, validations etc. It will be our pleasure learning from such a guide. Talking about this video, your explanation is better than anyone worldwide . Thanks for this video :)
This was a great video! Really understood how to use Nest.js and looking forward to implementing it into future projects! Thank you!
I am completely new to this, And I am wondering how can someone explain a totally new concept in so much a simple and nice way. Thank you for your efforts.
Anxiously waiting for the second part - connecting with MongoDB :)
@adrianmadalindinu
3 жыл бұрын
docs.nestjs.com/techniques/mongodb#connection
Excellent overview, thanks! Really impressed how elegant this framework is and just as importantly so fun to use.
@academind
5 жыл бұрын
Thank you Kiffin :)
Thank you for your class. I appreciate your work. I would love it if you could create more courses about NestJS. I've already worked through your entire Angular and Node courses and learned a lot.
@academind
5 жыл бұрын
Thanks Mia, to be honest I do not plan to create a NestJS course in the near future though :/
@miago4155
5 жыл бұрын
@@academind That's very sad, I like your way of teaching very much. I had the hope for a course from you, because I think NestJS fits perfectly to Angular and your Angular course is the best you can find on Udemy. Fortunately in your Node course I was able to gain a lot of knowledge about what I can adapt to Nest. Thank you very much for your great work and I am looking forward to many more interesting courses and videos from you.
Thank you so much for your content! I'm about to start a new job, and they use NestJS and MongoDB, so this video and the next one, which I'm about to watch, are pure gold.
I was just figuring out how to start with Nest.js, and you save my life as always!!! Thanks!
Already a paid student of this great teacher, very simplified to the point discussion covert every crash things. highly recommended.
I was just looking for Nestjs, and then I got this video. Thank you sooo much, awesome stuff. Can you please make video for production deployment with TypeORM?
Thanks Max. You never disappoint with your delivery. Right what I needed...
I've started creating an app with inversify + koa + typescript today, was a little bit disappointed with lack of libraries/docs how to use them together, of course there is inversify-koa-utils, but seeing this and seeing how well documented this library is makes me try it out anyway and see how it works.
Another coolest video from Max. You are outstanding Max. I learned a lot about Nest JS and so excited to see your next videos. Thanks for sharing your knowledge with us. You are great.
@academind
5 жыл бұрын
Thank you very much for your support Amir!
A great job,Max!!! The good thing about your teaching is that your explain the concept of the topics you address.:-)
Thank you very much for this tutorial. I was stuck with NestJS, horribly. I got to know not only my mistakes, but also a great inside out of this framework. Thanks once again 🙂🙂
Every tutorial made by Academind by this teacher is the one that is really the one i can trust will work and will teach me so much. Its so great and excellent work done by Academind and this sir. Really appreciatable the way things are explained and step by step way. Thats the thing I wanted always. I have tried other videos on Nest JS but this is very begginer friendly. I also watched React Native and other tutorials of him. Really Amazing teacher.
Hi Max, first of all thank you for your courses. I really love them! Please do a complete course on NestJS, I would definetly buy it!! Grüße aus dem hohen Norden 🙋🏼♂️
@academind
4 жыл бұрын
Thanks a lot for your awesome feedback, got no plans on a NestJS course at the moment though. Viele Grüße aus München :)
Super explanation! very simple en straightforward tutorial. A small style tip for anyone reading this: When an API sends a 200 (ok) message without a body it is actually a good practice to send a 204 (no content) Also, maybe for the post (create) send a 201 (created) message instead An easy way to do this in nest.js is to simply add: @HttpCode(204) or @HttpCode(201) to the decorator
Thanks Maks. Again everything is so easear to understand with you on board.
I don’t give fake comments like this video is superb i have search nearly 40 video but this is worth because it can be understand he is telling the meaning for everyline eventhough this my first time for the backend 😊 but last 10 min is terrible
GOD BLESS YOU I'd been intimidated by everything web dev despite having a solid base in java and taking a whole web dev bootcamp on udemy, it was still all jumble to me. I've connected all the dots I can't believe how it all makes sense! THANK YOU so much for explaining everything this way.
Somewhere in the middle I got lost as I have zero knowledge of Angular but overall it was beneficial.
Where is the course Max?? I'm not buying someone else's course
Great content. Areas of development: explain why you do things before you do them. You tend to do things and hope we follow along but it leaves me anxious and confused until I figure out what you're doing.
Max thanks a lot, would be nice to have a complete Nest js course with Auth,Pipes etc in Udemy
Awesome as always Max! +1 for GraphQL after Mongo.
Oh wow, thanks Max I was just looking for this kind of video. I'm really interested in connecting this with React or Angular... or maybe even Svelte?? :)
Your tutorials are good as gold, and this one is no exception.
Tip, use Date.now() for the ids in this kind of example apps. Thx for the video.
Great video as usual. Can you please prepare a video showing how to build a public website with Nest.js MVC and how to have features like forms to be submitted, file uploads, etc.
Thank you for the great introductory video. If you could make a complete course, that would get more purchase than the Angular course. I am quite sure.
This is a really good tutorial. All the detail and why is answers clearly. Thanks for such a good video
Thank you for simplifying the understanding of this framework; it's incredibly beneficial :)
Great, got me started with Nesjs. Thanks Max.
Trust me, he is one of the best teacher !!
@PenguinCrayon269
3 жыл бұрын
considering that this video is years old. is this tutorial still relevant?
@genogaming1015
3 жыл бұрын
@@PenguinCrayon269 I think so, nestJs have not got old yet
@PenguinCrayon269
3 жыл бұрын
@@genogaming1015 i mean are there any update on nest that makes this tutorial outdated?
@genogaming1015
3 жыл бұрын
@@PenguinCrayon269 Probably not, this is still one of the best tutorial
Hi dear Max, it was excellent, thanks very much. Iwas Zero in NESTJS, but this video was as gift for me.... 😍😍😍😍
Thank you, I requested for this on twitter and here it is.
btw you can make postman dark mode by clicking the wrench on the top left corner then going to themes, you're eyes will thank you
Nestjs has the best documentation I've ever come into in a node framework.
This was a very cool and concise video. Straight to the point! Well done!
Maximilian is instructor which I like his video before I watch it :) Thanks for awesome lecture.
Fantastic video, made getting started on Nest so much easier. Awesome work!
thanks man! great tutorial. Note: we can use `nest g module products` for creating modules easily
It's very useful tool. Nest.js is a very good framework, with a lot of features such as IoC (Dependency Injection), ORMs integration with TypeORM, GraphQL Integra and many others. But, its documentation should improve a lot. There are many things that are not so clear.
@CUINANFR
4 жыл бұрын
Can you suggest some well documented js backend framework ?
@jsinnerx
4 жыл бұрын
@@CUINANFR Actually yes, Loopback 4
@CUINANFR
4 жыл бұрын
@@jsinnerxIt is very hard to find a complete tutorial for loopback 4. It seems like nobody is using it. And things like build in authorization is still not finished yet.
@jsinnerx
4 жыл бұрын
@@CUINANFR you're wrong. First, it's IBM who is backing up that project. Nobody is using it? XD IBM is nobody. Second, Loopback has a lot of year in the market of node.js if you don't know it uhmmm you don't have many years using node, Third, you have asked me for well documented framework not for tutorials, the tutorials are made by popularity, Nest.js has a lot of popularity now because it shares the same logic of Angular and it isn't something bad it's actually pretty good, but without documentation. To finish it, if you don't have the knowledge to implement an authorization and authentication in an language with all the libraries we have in NPM right now you are not a so good developer. And yes, I have a complete REST API made using Nest.js and other project using Loopback.js 4, both using JWT for AAA feature.
@jsinnerx
4 жыл бұрын
@@CUINANFR on the other hands, the frameworks are tools, avoid to fall in love of something in this world dude, every time -and more usually in Javascript world- there's raising something new and something better, just take it, learn it and use it. If you don't understand that, if you don't feel comfortable with that, you are going to be a very poor and frustrated professional having a complaining here in KZread because somebody is doing an actual comment about Nest.js and that same person is opening your eyes and it's showing you other Typescript frameworks with, I think, better approches indeed, just like Loopback or even TS.ed. Take my suggestion into account.
I think you should build your own learning platform instead posting in udemy because you such a great instructor thanks Max for all you doing for us.
Your newly course are just dedicated to fundamental programming sections. Please make a point of topics such as microservices, messaging .... We are looking forward to hear about them.
Awesome Max. I have learned Nest.js in one day with you. Thanks
hey max, you always teach us a lot with very short and good code. thanks a lot for this vedio. I had learnt angular from you through udemy before 1 year ago. keep working god bless you
This tutorial was spot on. Huge fan, thank you!!
You are blessed.
when implementing the delete function you were relying on a case where the number of element in the array weren't changed until the actual splice operation.
Didn't know that TypeScript had property promotion. That's neat @31:00
thanks there will be a full udemy course on it ?
@academind
5 жыл бұрын
Not planned right now but I also won't rule it out. It's definitely an interesting topic.
@themaroonwaymedia9486
5 жыл бұрын
@@academind if you do it, consider something simple, but enterprise orientated with maybe some domain oriented observability thrown in? Going through your NodeJs Course now.
I am really impressed and looking forward to working with Nest.js. It looks pretty intuitive and well structured.
@academind
5 жыл бұрын
Thank you :)
this framework is going to be huuuuuge! awesome
@Looneytune
5 жыл бұрын
Because it's also inspired by Spring.
You are really the best instructor.👏👏
Nothing to say, just - BRAVO! Thx a lot, man)
Hello, I want to ask you some questions. I have encountered some problems, when my interceptor calls the method, an error is reported
Cool to see a video about Nestjs from you
@academind
5 жыл бұрын
I'm glad you're liking it! :)
Checkmate, I was storing all the products from this tutorial in MongoDB the whole time 😏. On a real note, amazing tutorial! Thanks for making this, the framework looks amazing and this gave me some much needed practice with Typescript decorators and of course NestJS.
you use array destructuring, while declaring product and index. but why don't you destruct argument in findIndex method like ({id} => id === id)?
Crystal clear and totally understandable. Thanks a million ❤
Thanks Max. Your way of teaching inspires me to upload tutorial videos in spanish.
When I used the GET request in postman I get this error as "{"statusCode":404,"message":"Cannot GET /products","error":"Not Found"}. How to resolve this?
i have problem in Patch route the given Data are getting updated but On the Get the data is not updated how i can fix with postman or in code
@hariganesh8649
3 жыл бұрын
@Academind
Thank for for this awesome tutorial/course ! Nest is really awesome and convenient, and you helped a lot !
Sir, i have learned Angular , Ts , css, dockef from your uemy courses and started my career. You are very crucial part of my career please make a udemy course for Nestjs i want to boost my knowledge further
Hi Max please make a complete course for this framework there is still much to learn
Thank you for the video. Its really good. ( you can use VS Code extension 'Thunder Client' instead of postman. Its good . you can avoid switching between the apps that way )
Congratulations, you successfully replicated the documentation!
Thank you ! God bless you dear Maximilian.
Thank you! It was a very good video exploring the fundamentals of NestJS
Max is worth his weight in gold. How many of us has six figure salaries because of this beautiful man
What an Amazing Video!! Thank you Max
Overall excellent video, I got started with NestJS for a personal project, just to do without Symfony for the backend. On the other hand, please, do not recommend the use of sudo in front of NPM, it is not recommended and it should NEVER be a solution.
Cool! Pretty clean and understandable! Nothing extra 👍 Thank you a lot!
Awesome video as always! Looking forward to the next ones. ^_^
Very helpful and greatly explained with good example, thank you
Is [...this.products] still be a Shallow Copy? Should we use JSON.parse and JSON.stringify for deep copy instead?
To fully clone the returned products, you can use Lodash's _.cloneDeep function. Pretty convenient.
As usual, another amazing and a really helpful content. Thanks 😉
This looks pretty close to Spring Boot. Love your videos BTW
@Lindaine
3 жыл бұрын
Yeah, it looks like spring but with javascript