Reminder that you can combine this video with other videos: Angular and NestJS Microservices: kzbin.info/aero/PLlameCF3cMEvhfLVjxhhZ6wqW-AoqRPB6 React and NestJS Microservices: kzbin.info/aero/PLlameCF3cMEsUbAIl_BrmQLN2NzQGsL89 Vue and NestJS Microservices: kzbin.info/aero/PLlameCF3cMEswvbe0A2EXy-cqe1HmT_af
@seanknowles7833 жыл бұрын
how do would we listen to multiple queues? I see we setup "main queue" but how would we import more than one queue?
@oyinlolaolasunkanmi2 жыл бұрын
@@seanknowles783 this is a critical question and from findings, nestjs did not do a good job in covering this. The only answer I found says that you have to reacreate the microservice and include the queue one after the other.
@shahidabbas29322 жыл бұрын
kindly post github url (source code)
@agenticai93522 жыл бұрын
Solid tutorial. I had no idea that microservices were so simple to set up in NestJS.
@mkroven3 жыл бұрын
This deserves much more likes. Thank you.
@josbexerra81153 жыл бұрын
Gran Maestro directo al grano.... saludos de los andes peruanos.....esperando un proximo video pero con docker
@Nageswararao933 жыл бұрын
Thank you so much for doing these videos on NestJs Microservices. Really fantastic. It helps a lot if you drop the link to source code for beginners like me.
@mohitcodeswell Жыл бұрын
Finally found a guy who doesn't like colored files at start as me 😂💯
@seanknowles99853 жыл бұрын
We need an in-depth course covering Nestjs microservices running on GCP, RabbitMQ & Reddis etc.. love the videos by the way :)
@ScalableScripts3 жыл бұрын
That is the plan, in ~2-3 months this course with everything you mentioned + more will be released on my platform, so check scalablescripts.com from time to time :)
@seanknowles99853 жыл бұрын
@@ScalableScripts I already got some of your courses on Udemy, loving your work :)... I am happy your pushing your own brand and platform.
@seanknowles99853 жыл бұрын
@@ScalableScripts ps super excited for microservices, I can't wait...
@seanknowles99853 жыл бұрын
@@ScalableScripts GCP have this thing called buildpacks, security audited pre optimized containers for deployment on cloud run I believe, could be worth a mention or a look at...
@ScalableScripts3 жыл бұрын
@@seanknowles9985 Thanks will check it out :)
@personaldsentidades15402 жыл бұрын
Congrats! Is very useful this tutorial. Thank for share. I send a big hug. 🤗
@kunalghosh11173 жыл бұрын
An overall tutorial is beneficial for newbies. What do I feel is that suppose we have a scenario where we need to join multiple tables/documents & fetch data then how we are going to perform it with microservices?
@michaelabbott71393 жыл бұрын
The same way you do in Monolithic world. Instead you use the network to resolve the request.
@abdullahanis57612 жыл бұрын
@@michaelabbott7139 you mean an api request from other service?
@michaelabbott71392 жыл бұрын
@@abdullahanis5761 yeah exactly. There’s two schools of thought here, you can make a network request to some over service to resolve the overall needs of the UI. For this scenario we can use three services Accounts service Transactions service Payments service The accounts service can make a get request using the user ID to get the list of transactions that user has made. Or we can use a message bus, that the three services are listening for events on. For example the accounts service could have a consumer listening for the CompletedTransaction event, from that consumer we can store the ‘accounts’ domain object for a transaction. Which eventually reduces the number of inter communication required by a single source to complete some business request. Effectively is a very very loose implementation of domain driven design.
@AminulislamSakib Жыл бұрын
Thank you, It's very easy to understand and very helpful.
@moisemuhesi15252 жыл бұрын
I really appreciate this tutorial, it helped me to understand the microservice approach in the nestjs framework, thanks a lot .
@RunnerShane-nj8xz7 ай бұрын
Amazing course with easy to understand explanation. But can we have a course on microservice with authentication and gateway also.
@BrunoMeirel3s4 ай бұрын
Thank you man, it helped a lot!
@mahdiandalib1868 ай бұрын
thx man, plz create more angular and nest js courses, for example a full news web app
@devorer77 Жыл бұрын
Simple and really useful. Thank you!
@svyatglukhov Жыл бұрын
very cool crash course. thank you for your hard work!
@AchwaqKhalid4 жыл бұрын
Came in time 👍
@victormendoza91634 жыл бұрын
Great! Thanks!
@GhalibAnsari199453 жыл бұрын
Github link for your code please. Awesome tutorial.
@_danisson3 жыл бұрын
Hi, when i change the package json of 8001 to listen it starts the app but postman doesnt work, nothing returns.. if i run start:dev as usual it works great, but "listen" : "nest start --watch --config listener.json", doesnt let me consume the endpoints of the api. If i run the other app ( 8000 ) emiting the string, app 8001 receives the emit correctly, but cant use postman or any endpoint .
@rajashreeshimpi83953 жыл бұрын
Yes getting same issue
@_danisson3 жыл бұрын
@@rajashreeshimpi8395 I did something else to get response, but the way he did in this video doesnt work.
@chapunet3 жыл бұрын
@@_danisson Hi, what you did to get response? I have the same issue.
@aleksandrgurnak39113 жыл бұрын
Thank you so much man!
@nikhilgoyal00711 ай бұрын
this was super! thanks so much!
@MithileshJha_MCA3 жыл бұрын
Nice to see good content about nest and getting more curious to know about how we will use fastify with Nest which editor you are using to connect show the db fields in right side of editor
@MementoNeli3 жыл бұрын
Shum mir shiqpe ;)
@tercio.design Жыл бұрын
brooooo amazing, thank you !!!!
@Euronymous3312 жыл бұрын
Amazing tutorial ❤ thank you so much
@javierdiaz1887 Жыл бұрын
I just need to know what is the point to use SQL and NoSQL? good video btw.
@konradkauzny3560 Жыл бұрын
It would be nice if you paused for a moment before hitting Enter in the terminal. Without this, it is difficult to stop at the right moment and rewrite the code.
@m.faizanfaizi415811 ай бұрын
can anyone name the extension he used in his code editor which displays the properties of specific part of your code. like it tells if an entity is an entity or a prefix is a prefix
@DarkAnderTernopil3 жыл бұрын
Thank you, this course is very good
@jacksonzhang88333 жыл бұрын
Thank you for helping me out!!!
@matheuscamarques2 жыл бұрын
In this case, are you using the micro-service just to replicate the database?
@chhengpanhchakly2 жыл бұрын
Thank you so much🥰❤
@AndresLobaton3 жыл бұрын
Amazing tutorial, thank you so much sr
@danielpaszek90713 жыл бұрын
Great tutorial
@dawid_dahl3 жыл бұрын
Thanks so much! 🙌🏻
@oyinlolaolasunkanmi3 жыл бұрын
Thank you so Much man.
@heuristicwave89223 жыл бұрын
Awesome Contents!!!
@sivadara56773 жыл бұрын
Very useful content thank you
@abdelrahmanmysara4313 жыл бұрын
thanks , this was helpful
@rajat4204202 жыл бұрын
Hi, i have created a queue and sent message there, how can i consume this message in nestjs in new microservice
@sanjayc12953 жыл бұрын
How to handle exceptions thrown in one service and to handle the same from the service sending the event?
@guther2 жыл бұрын
I don't know, but... create microservice this way look like is creating monolitic, in the end all your code will be in the same Pod, in the same container. If some errors occurs will affect all project. I prefer split microservice in diferents pods or containers.
@misterl81292 жыл бұрын
so a great video, thank U
@amanibraev9862 Жыл бұрын
how to open database tools in VS Code ?
@thathsarasenanayaka8872 Жыл бұрын
thanks buddy
@hadirahmani79432 жыл бұрын
Thanks so much
@atovan3236 Жыл бұрын
I can not find the AMQP url now
@ВадимУсенко-д8ч2 жыл бұрын
Where is an example of code? Link?
@darknight91853 жыл бұрын
nice. Tutorial
@romanticrebel913 жыл бұрын
what if I want to create the dockerfile for each microservice, how does it work for the multiple entry files?
@DuyTran-ss4lu3 жыл бұрын
Thanks so much!
@rahff992 жыл бұрын
Why we need two different process to run the same app ?
@kasrakasra89252 жыл бұрын
Cause thats called, Microservice.
@cfieroanimation22222 жыл бұрын
hello, how open menu database/localhost in visual studio
@twitchizle3 жыл бұрын
You need to zoom browser. Cant read on phone
@ВячеславШевчук-х9д3 жыл бұрын
Thanks a lot!)
@olexiy72223 жыл бұрын
what tool are u using at the beginning to display mysql schemas on the right?
@paulosantana80563 жыл бұрын
Fantastic
@JeanBaptisteChabi7 ай бұрын
Why not Express?
@kamalkamals3 жыл бұрын
why not use nx for this project ?
@mohamdalmhde13225 ай бұрын
would you mind if you share the source code
@martinmtandi3353 жыл бұрын
how do you setup .env file for your DB connection with typeorm
@ClearlyCero3 жыл бұрын
It's handled through nest docs.nestjs.com/techniques/configuration
@timepass16284 жыл бұрын
Nice Content... What is the database extension (for vscode) that you are using in this video?
@ScalableScripts4 жыл бұрын
I don't use VSCode sorry so I don't know
@katthacar4 жыл бұрын
Hello, I have a question, if I have, 50 users concurrently connected to my server and 30 of them load at the same time a .csv file with thousands of lines, where each line of the file must be validated before persisting in the database . Since this task blocks the cycle of events, is there a solution with NestJS or should I definitely use another technology for these cases?
@ScalableScripts4 жыл бұрын
You can use queues docs.nestjs.com/techniques/queues . You can save the files in a temporary directory then you can send a message to the queue to process them. There will be a job that runs every x time that will get the queue events, processes the files, then removes them. This is one of many solutions
@nhatquang76374 жыл бұрын
I have a question that is there any solution to start both the server and listener in one command ?
@ScalableScripts4 жыл бұрын
I would use Docker check this other example for another app: kzbin.info/www/bejne/fnSZYpudqtF3abM
@damaroro3 жыл бұрын
You can use concurrently library
@bnd83712 жыл бұрын
import { NestFactory } from '@nestjs/core'; import { Transport } from '@nestjs/microservices'; import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); app.connectMicroservice({ transport: Transport.TCP, options: { port: 3001, }, }); await app.startAllMicroservices(); await app.listen(3001); } bootstrap();
@xdev0811 ай бұрын
Send github link
@pelaoinfo2 жыл бұрын
Genius...
@DuyTran-ss4lu3 жыл бұрын
Awesome
@pyakz29063 жыл бұрын
Does both database have the same data?
@MuhammadAwais-0073 жыл бұрын
yes he was intending to make copy of first database in mongodb with the help of second microservice, but incase of likes he inverted the process just to show another way of communication between the services
@andreas65083 жыл бұрын
what IDE are u using?
@henrycontal3 жыл бұрын
Webstorm
@MenAmongTheRuins775 ай бұрын
32:11
@akmalahmadjonov6800 Жыл бұрын
nest g resource fileName module
@dsha2562 жыл бұрын
Don't use horrible practices, please. Organize the way you are going to explain and implement the functionality. I mean, it's so annoying when you are confused by things you are going to explain to us. On the other hand, I like your content, so keep it doing, dude. Thank you! p.s. WebStorm is great!
@kobakamladze4175 Жыл бұрын
Can you recommend any other courses about microservices with nodejs and rabbitmq with deeper explaination of some topics?
@kerodfresenbetgebremedhin18812 жыл бұрын
bad example to showcase microservices, but good explanation nonetheless