Learn NestJS Microservices in 20 Minutes

  Рет қаралды 23,158

Tech Vision

Tech Vision

Күн бұрын

Пікірлер: 98
@abuzain859
@abuzain859 2 ай бұрын
I have been working with NestJS for the past six months, and most of my career has been focused on front-end development for the last 3 years. You are my most-watched tech channel. Every second of your videos demonstrates your expertise in NestJS. I would love it if you could create a video on logging, in production envirement, and analytics with Datalog or any tool of your choice. Love from Pakistan!
@Phantom-pu1xn
@Phantom-pu1xn 4 ай бұрын
I just searched for NestJS microservice video now. And found it was uploaded 1 hour ago. There are alot of NestJS videos, but I think your production quality and explanation is way better. Keep creating NestJS videos... They are great
@avishkaindula1035
@avishkaindula1035 4 ай бұрын
It would be much appreciated if you could make a tutorial explaining how to deploy a Microservices-based Nestjs application to AWS or any other cloud provider with secure https connections to the API gateway. And thank you for creating these awesome videos!!
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Thanks for the feedback, really appriciate it 💜. I've added to your ideas to my video ideas backlog 💪
@QAlifestyle
@QAlifestyle 4 ай бұрын
​@@TechVisionExplainedmore Test Automation videos - am an aspiring QA automation tester it will be great honestly to learn from what you know as a senior Dev. I love the way you give detailed explaination thanks also for k6 the tool has been amazing for me
@toohit
@toohit 3 ай бұрын
Build, Rsync, restart :)
@seanjcan
@seanjcan 2 ай бұрын
This! Loved the tutorial, and would be super interested in how one goes about doing deployment on AWS!
@7heunforgiv3n47
@7heunforgiv3n47 2 күн бұрын
Wow, I haven't seen such a well-made tutorial in a long time, compliments!
@tranquillityEnthusiast
@tranquillityEnthusiast 4 ай бұрын
Dropped perfect vedio at perfect time, keep nestjs videos coming, thnks man
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
That was fast 😲🤩 Thanks for the support, already working on the next one 💪
@orangesixtyseven
@orangesixtyseven Ай бұрын
I truly appreciate you because I cannot find any blogs or documents about NestJS Microservices Architecture. If there are any, they lack detail. Thank you so much.
@hasithachandula7285
@hasithachandula7285 4 ай бұрын
Great explanation! If you could create a playlist on NestJS microservices with advanced concepts, it would be very useful for everyone.
@anirudhhosur3827
@anirudhhosur3827 14 күн бұрын
Great tutorial. The confusing part is that we need to create a users app which has a UserService. Then, we need to create users module inside api-gateway which also contains a user-service. This sucks!
@elronkarni
@elronkarni 23 күн бұрын
One of the best videos i ever seen in a while ty so much ❤️
@Sacerdumal1
@Sacerdumal1 4 ай бұрын
Your videos are amazing, I'm learning a lot about NestJs thanks to you, thank you
@moifekmaiza3474
@moifekmaiza3474 Ай бұрын
Great OOP architecture, very well explained and I loved the video structure and length !
@capham6513
@capham6513 2 ай бұрын
Could you share the example to git repo?
@mehedihasanridoy1086
@mehedihasanridoy1086 4 ай бұрын
Great video explain.. Comes with a complete 0 to zero course where you explain the nestjs microservices more details
@nikhilarya7712
@nikhilarya7712 4 ай бұрын
Great video just like always, but I have one doubt, as I have not worked on microservices pattern, I have one doubt here, microservices refer to the structure where we have different setup for our different usage on different servers, so that we can scale and maintain code easily, but here you have created all of them at one place, so how will this work? I can't understand that, can you please explain this to me? Thanks in advance.
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
First of all, thank you for watching, and I'm really glad you enjoyed it 🙏 In short, microservices refer to the fact that you can deploy each service independently. It doesn't matter if the code is in the same repo; the services can even be in different programming languages. The only thing that matters is that they can be deployed independently. In the case of the NestJS mono repo, you can build each application separately using `nest build . After that, you can deploy each application separately. Hope that makes sense
@nikhilarya7712
@nikhilarya7712 4 ай бұрын
@@TechVisionExplained oh ok got it, I was thinking the same thing but was not sure if that is the case, thank you very much for your response, it was great talking to you and will recommend this channel to my friends as well. Thanks ☺️
@matthiaskohler9615
@matthiaskohler9615 4 ай бұрын
I dont understand the advantage over plain http app. I can scale an http app as well by creating a second one. How is this http to Microservice communication an improvement? Anyone has a use case to help me understand?
@amerrrrrrr
@amerrrrrrr 3 ай бұрын
" I can scale an http app as well by creating a second one." But then you gotta give the Front-end team a number of API URLs equal to the number of your apps, though, it's the same project.
@matthiaskohler9615
@matthiaskohler9615 3 ай бұрын
@@amerrrrrrr I use a load balancer in front then containers for my http apps. Trying to understand the advantages. The only thing I can think off is TCP is faster ...
@greggsworld4453
@greggsworld4453 3 ай бұрын
i agree. i think the reason other architectures are still around is because they are valid. this is not the be all. i am in the same boat as you and doing this architecture for where i am at with my product would be crazy. there is no metric i can think of where micro services adds benefit to my product, if anything it's more hurdles, more expensive and more to manage. i will gladly slap my code on a -$7 VM/VPS and watch it perform just fine. With autoscaling. I have seen a trend now on people leaving serverless/lambdas because of the cold start delays and cost, moving back towards the more traditional approach. the hype train is a bumpy ride.
@regulardev
@regulardev Ай бұрын
I could be wrong. But it appears the advantage is the variety of transports (and patterns) it provides. For e.g. I could now keep the microservice on gRPC with gateway still in HTTP.
@sunnysetia
@sunnysetia 4 ай бұрын
Great video bro. Please keep the NestJs videos coming, ur carrying the NestJs community on youtube right now!
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Hey @suttnysetia thank you so much for the continuous support 💜 Already working on the next 3 NestJS videos, one will be about swagger, another one on database and another one on testing. But I'll also be publishing on other topics alongside 💪
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
By the way is there any subject that you find particularly challenging or any area that you would like to see covered?
@sunnysetia
@sunnysetia 4 ай бұрын
@@TechVisionExplained Sounds like you already have some great videos planned, looking forward to swagger & testing. I think a video on handling logging & global error handling in production could be helpful.
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
@@sunnysetia Noted 🤜🤛
@Tanzimhossain2
@Tanzimhossain2 Ай бұрын
Awesome explanation, quick overview, and brainstorming ideas.
@etorty_dev
@etorty_dev 4 ай бұрын
Awesome video as always. Keep up the great work!👍
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Really appreciate the support, glad that you find value in my videos 💜🙏
@AdityaRaj-lj5wf
@AdityaRaj-lj5wf 4 ай бұрын
microservices in nestjs is indeed a topic worth discovering let's gooooo!!
@regulardev
@regulardev Ай бұрын
Thanks for the high-quality videos on NestJS. If the advantage of NestJS Microservice is the variety of transports/access patterns it provides, then for this video, it may have been beneficial to show gRPC transport example as some viewers might be wondering what advantage of NestJS Microservice (TCP shown in this video) has over a simple HTTP NestJS app. Limited to TCP, they may see event-based pattern as a fire/forget HTTP. Kindly correct if the advantage is different.
@TechVisionExplained
@TechVisionExplained Ай бұрын
Yeah I will make more content on Microservices using NestJS, there is so much to cover on that topic. But yes one of the advantage of NestJS is that it gives you some guidance and an opinionated way to implement Microservices
@suhasmrao1189
@suhasmrao1189 4 ай бұрын
This is perfect and loved it. 🙂 I would love to have a detailed Video on NestJS Microservice with some real time implementation along with git repository
@codeorcofe
@codeorcofe 2 ай бұрын
Thanks Bro: You explain clearly and understandably!
@badreddineinfo
@badreddineinfo 2 ай бұрын
Can you please make a full course (more detailed, with deployment and how to scale for big traffic) about NestJS Microservices, thank you so much for your videos, great explanation. Keep creating NestJS videos... They are great
@ElhSoula
@ElhSoula 4 ай бұрын
Thanks 🙏🏼 a lot you saved me hours of search to learn nestjs micro services
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Glad I could help 💜
@hackmedia7755
@hackmedia7755 3 ай бұрын
So how does the client usually interact with the server? Through a REST API or something else?
@amerrrrrrr
@amerrrrrrr 3 ай бұрын
The request will mainly reach the gateway first, which is a regular REST API. However, this gateway is getting its data from the microservice through TCP(a lighter version of the HTTP communication protocol).
@prakashbanjade4374
@prakashbanjade4374 3 ай бұрын
Can you provide the repository, I am stuck at some point and cannot get users. It keeps loading.
@sovannen6076
@sovannen6076 Ай бұрын
What extension is he using to send request at 9:02?
@theofiloschamalis161
@theofiloschamalis161 4 ай бұрын
Thanks for putting together this video, it is really helpful when trying to understand how each app communicates with each other. I have a couple questions that are not covered though: 1. Should microservices communicate with each other and if so how can we achieve that? 2. What about the deployment of an approach like this? Is each app deployed as a separate node application? 3. Is it worth adding a queue between the gateway and each microservice to improve their reliability? Thanks again for the high quality content!
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Thanks for watching, and glad you found it useful 💜, Each of these questions is probably worth an entire video on its own, but I'm still going to try to answer them. But please take this with a pinch of salt. 1. NO! If your microservices communicate with each other, you end up with a communication graph. Which is hard to reason about. But if you want to do that, you can just create a client proxy inside a microservice app and send messages or events to other services. 2. YES! Each service should be deployable independently. That's kind of the whole point of microservices. Or at least they should run in a separate process. 3. NO! Start simple and basic; add more complex patterns later if you really need them. There are several communication styles (synch vs async), and each has pros and cons. I hope this was helpful and gave you some pointers 🙏, but again, there is a lot more nuance to this, and there are literally books and hour-long lectures on microservices communication 😅
@theofiloschamalis161
@theofiloschamalis161 4 ай бұрын
​@@TechVisionExplained Thank you so much for your reply and sharing your thoughts on this! I completely agree that a well-structured and organized codebase is crucial, especially as projects scale. As you mentioned, starting small and gradually adopting more complex approaches, like async communication with queues, is not only better for managing complexity but also more cost-efficient. I’m excited to see more of your content and would love to learn more about microservices communication, particularly with gRPC and asynchronous methods. Looking forward to your upcoming videos! :D
@johanesraphael
@johanesraphael 4 ай бұрын
Thanks for the video! I have one question, what's the point of creating the books-app.module.ts, because the users module is not doing that?
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Hey, I wanted to generate the full books module using the CLI inside apps/books. That's why a renamed the root module from books.module to books-app.module. This way I could generate an entire books module with controller service and models. I could have done the exact some app/users. Just trying to make the videos as short as possible with the most value possible. I'm still learning how to get the right balance so thank you for your feedback this really helps 💜
@greggsworld4453
@greggsworld4453 3 ай бұрын
I am glad i didn't go for this architecture when rewriting one of my products. To me a dockerised server that can deploy anywhere and scale seems fitting enough for most cases. For netflix and them each service is so big it is technically a system on its own so this makes sense. But for my website of 1000 users this seems chaotic. And then deploying this must be expensive or resource intensive because each service needs its own resources. For me, my time, my value for money, my ability to ship and stay profitable at this time - the monolith approach is better. Nice video and a good watch, thank you.
@jeanfernandeseng
@jeanfernandeseng 16 күн бұрын
Excellent presentation
@thiagopereiraalves7943
@thiagopereiraalves7943 9 күн бұрын
Thanks very much for class!!
@naveensaini3934
@naveensaini3934 4 ай бұрын
Great video! if possible, could you please share the source code of this video? It would be really helpful.
@sadDota
@sadDota 4 ай бұрын
pls share the code in a repo! it would be amazing to have that resource! 🥺🙏
@HasmikGrigoryan-g8p
@HasmikGrigoryan-g8p 2 ай бұрын
Thank you for your videos, I would like to see more advanced videos on core concepts like IoC container, injector work, dynamic modules or custom providers, which will help to understand this concepts and nest's behind the scenes better. Explained by experienced developer, because reading a documentation is not enough to deeply understand this concepts for beginner.
@ripeeapp5749
@ripeeapp5749 4 ай бұрын
Your videos are amazing. You have the skill to explain things clearly because you know the stuff inside out. Keep it up! Could I request that you invest your time in creating videos on rate limiting, caching, API documentation (perhaps using Swagger?), and how to organize services and controllers as functionalities grow? Most tutorials only show basic CRUD operations, and it would be helpful if you could demonstrate how to effectively structure code with less clutter. Yes, I have seen your video on how to scale, but that's not what I'm referring to. I'm interested in seeing how to communicate with a real database using ORM and without ORM (I'm not a fan of ORMs, to be honest).
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Thank you so much for the kind words 💜 Thank you so much for the feedback’ really useful to understand what are the pain points so that I can cover the most relevant topics. Funny enough I’m actually working on a video on swagger and another one one how to connect to a MongoDB database but in three different ways not just ORM 💪
@ripeeapp5749
@ripeeapp5749 4 ай бұрын
@@TechVisionExplained That's awesome. Can't wait to see 'em :)
@bartholomeas5231
@bartholomeas5231 4 ай бұрын
And is it possible to add some source code to next crash courses? :D As i've done some bug in my code and cannot find why its throwing 500 :D
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
@bartholomeas5231 First of all thank you for watching the video and subscribing to the channel really helps a lot, and I'm really grateful🙏 What's the exact error message you're getting in the console? By the way, I would love to share the source code, but I'm trying to focus on producing at least one NestJS video per week. It would just be impossible if I tried to provide source code for each video. If I do share source code, I would like it to be of the best standard possible, up to date, and have helpful comments and documentation. That's why, for the time being, there is no source code associated with my videos. I'm still trying to figure out a way around that, though so there could be some changes in the near future 🤞
@bartholomeas5231
@bartholomeas5231 4 ай бұрын
@@TechVisionExplained I got stuck around 9minute of video, and the problem is that im not getting any meaningfull error message :/ Just 500 in postman and "ERROR [ExceptionsHandler] AggregateError" in the terminal. Its something with connecting to my 'users' microservice (as without that it works) but no idea why, im watching this video but i dont see any differences, just injecting USERS_CLIENT and trying to use 'users.findAll' on that (after importing clientsModule in my users.module in bookstore api) :/
@johanesraphael
@johanesraphael 4 ай бұрын
@@bartholomeas5231 have you tried running the users services? nest start users --watch
@hameeeed5992
@hameeeed5992 3 ай бұрын
Your smile is wonderful, brother
@gamingwolf3385
@gamingwolf3385 4 ай бұрын
Can you do video about chat app with socket io , until now i don't understand the difference between socket and io variables , i watched a lot of videos but yours are more informative , thank you
@mohitdayma-cse5081
@mohitdayma-cse5081 2 ай бұрын
This is an awesome video 👏 Can I get the github repo link
@abimanyudpoernomo6127
@abimanyudpoernomo6127 3 ай бұрын
Thank you for the great explanation!
@obichinedufrank
@obichinedufrank 4 ай бұрын
Great Video. Thank you so much. Is it possible to get the link to the git repo if any ?
@ElhSoula
@ElhSoula 4 ай бұрын
It would be much appreciated to do a playlist of building bookstore multivendor app using nestjs micro services for the backend qnd nextjs for the frontend. Thanks for your explanation it great keep it up 👍🏼
@harunibrahimovic5657
@harunibrahimovic5657 4 ай бұрын
Great video ,very helpful , but i would love to have repo for this code , to inspect it better
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Thank you for leaving some feedback, glad to hear this was helful 🤜 🤛 I would love to share the source code, but I'm trying to focus on producing at least one NestJS video per week. It would just be impossible if I tried to provide source code for each video. If I do share source code, I would like it to be of the best standard possible, up to date, and have helpful comments and documentation. That's why, for the time being, there is no source code associated with my videos. I'm still trying to figure out a way around that, though so there could be some changes in the near future 🤞
@ns-gabrielmendoza1329
@ns-gabrielmendoza1329 2 ай бұрын
Can you make NestJs Microservices that is dockerize
@corentindureuil2148
@corentindureuil2148 3 ай бұрын
Thanks for the video man !! Can you make another video on communication between microservices? (for example for an e-commerce API)
@MinKhant-x4l
@MinKhant-x4l 3 ай бұрын
Hello, could you make me a multi database connection in the Mongo DB based on the company code?
@AshishFatnani-g1u
@AshishFatnani-g1u Ай бұрын
Can you please provide a Github repo link for this project?
@rxrzzz
@rxrzzz 3 ай бұрын
can we please get a long form video on how to implement bob c. martin's clean architecture in nestjs??? pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
@usmanqasim7948
@usmanqasim7948 4 ай бұрын
I am very happy to watch this video, it's awesome. I am looking for this type of video quite a while. Can you please add the git repo? So we can see the code.
@rajugangitla
@rajugangitla 4 ай бұрын
Hey can you explain circular dependency, shared modules
@zlatkoiliev8927
@zlatkoiliev8927 2 ай бұрын
How do you get the nestjs file icons in the file tree?
@TechVisionExplained
@TechVisionExplained 2 ай бұрын
I made a post about it a while back, here you go 😉 kzbin.info/door/WrduBDJCR3x3YFc8ONdUygcommunity?lb=UgkxO2zTcymsA3aOa-nSRHOTEIbUPv6HBeQV
@leiayuri
@leiayuri 3 ай бұрын
Excellent Video, if you have any interesting in making an Advanced GraophQl Netjs Video would perfect with Schema First approach. Thank you and keep doing !
@KostiantynRodin
@KostiantynRodin 4 ай бұрын
Thanks! Really cool!
@ardhikaryzha317
@ardhikaryzha317 24 күн бұрын
awesome, thanks!!
@kinorelax3277
@kinorelax3277 4 ай бұрын
Video related to testing
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Hey thanks for being a recurring viewer really appreciate the support 💜, I have scheduled to publish a video on a full testing strategy for NestJs in September. But in the meantime I’m still going to post other NestJs videos and other related topics hope you’ll find them useful as well
@chess4964
@chess4964 4 ай бұрын
I learned Nestjs Microservices in 13 mins and 20 seconds by setting the speed of the video to 1.5x
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Let’s go 💪👍
@tinolbhoyar4646
@tinolbhoyar4646 4 ай бұрын
I'm requesting again please make tutorial project which implements all concepts
@pratikanand143
@pratikanand143 4 ай бұрын
Please show the codes more than switching screens.
@jevzp
@jevzp 4 ай бұрын
What the hell?? Why is it so complicated. I never needed to write a million commands to connect a service to my gateway damn
@hristotanchev6036
@hristotanchev6036 Ай бұрын
ngl the solution looks a bit spaghetti to me
@bartholomeas5231
@bartholomeas5231 4 ай бұрын
Awesome! B)
@brunohnrtrading
@brunohnrtrading 4 ай бұрын
Perfect! Thank you very much
@TechVisionExplained
@TechVisionExplained 4 ай бұрын
Thanks bro 👊💜
@gabrielcortezmazzardo5344
@gabrielcortezmazzardo5344 6 күн бұрын
Confusing as hell. Too much information given too quickly. Good teaching at least
NestJS Crash Course: Learn in 25 Minutes
26:31
Tech Vision
Рет қаралды 17 М.
NestJs Microservices with RabbitMQ
23:21
Computerix
Рет қаралды 18 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 114 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 835 М.
The Right way to write Nest.js & Typescript clean-code - SOLID
17:55
Is Your API ACTUALLY Ready for User Traffic?
6:59
Tech Vision
Рет қаралды 137 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 1,5 МЛН
Nest.js Microservices Tutorial in 20 Minutes
17:56
Michael Guay
Рет қаралды 113 М.
Every NestJS Concept Explained in 9 Minutes
9:19
Tech Vision
Рет қаралды 57 М.
What Makes A Great Developer
27:12
ThePrimeTime
Рет қаралды 225 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН