NestJS Microservices Full Course

  Рет қаралды 122,274

Scalable Scripts

Scalable Scripts

Күн бұрын

Пікірлер: 109
@ScalableScripts
@ScalableScripts 4 жыл бұрын
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
@seanknowles783
@seanknowles783 3 жыл бұрын
how do would we listen to multiple queues? I see we setup "main queue" but how would we import more than one queue?
@oyinlolaolasunkanmi
@oyinlolaolasunkanmi 2 жыл бұрын
@@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.
@shahidabbas2932
@shahidabbas2932 2 жыл бұрын
kindly post github url (source code)
@agenticai9352
@agenticai9352 2 жыл бұрын
Solid tutorial. I had no idea that microservices were so simple to set up in NestJS.
@mkroven
@mkroven 3 жыл бұрын
This deserves much more likes. Thank you.
@josbexerra8115
@josbexerra8115 3 жыл бұрын
Gran Maestro directo al grano.... saludos de los andes peruanos.....esperando un proximo video pero con docker
@Nageswararao93
@Nageswararao93 3 жыл бұрын
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
@mohitcodeswell Жыл бұрын
Finally found a guy who doesn't like colored files at start as me 😂💯
@seanknowles9985
@seanknowles9985 3 жыл бұрын
We need an in-depth course covering Nestjs microservices running on GCP, RabbitMQ & Reddis etc.. love the videos by the way :)
@ScalableScripts
@ScalableScripts 3 жыл бұрын
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 :)
@seanknowles9985
@seanknowles9985 3 жыл бұрын
@@ScalableScripts I already got some of your courses on Udemy, loving your work :)... I am happy your pushing your own brand and platform.
@seanknowles9985
@seanknowles9985 3 жыл бұрын
@@ScalableScripts ps super excited for microservices, I can't wait...
@seanknowles9985
@seanknowles9985 3 жыл бұрын
@@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...
@ScalableScripts
@ScalableScripts 3 жыл бұрын
@@seanknowles9985 Thanks will check it out :)
@personaldsentidades1540
@personaldsentidades1540 2 жыл бұрын
Congrats! Is very useful this tutorial. Thank for share. I send a big hug. 🤗
@kunalghosh1117
@kunalghosh1117 3 жыл бұрын
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?
@michaelabbott7139
@michaelabbott7139 3 жыл бұрын
The same way you do in Monolithic world. Instead you use the network to resolve the request.
@abdullahanis5761
@abdullahanis5761 2 жыл бұрын
@@michaelabbott7139 you mean an api request from other service?
@michaelabbott7139
@michaelabbott7139 2 жыл бұрын
@@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
@AminulislamSakib Жыл бұрын
Thank you, It's very easy to understand and very helpful.
@moisemuhesi1525
@moisemuhesi1525 2 жыл бұрын
I really appreciate this tutorial, it helped me to understand the microservice approach in the nestjs framework, thanks a lot .
@RunnerShane-nj8xz
@RunnerShane-nj8xz 7 ай бұрын
Amazing course with easy to understand explanation. But can we have a course on microservice with authentication and gateway also.
@BrunoMeirel3s
@BrunoMeirel3s 4 ай бұрын
Thank you man, it helped a lot!
@mahdiandalib186
@mahdiandalib186 8 ай бұрын
thx man, plz create more angular and nest js courses, for example a full news web app
@devorer77
@devorer77 Жыл бұрын
Simple and really useful. Thank you!
@svyatglukhov
@svyatglukhov Жыл бұрын
very cool crash course. thank you for your hard work!
@AchwaqKhalid
@AchwaqKhalid 4 жыл бұрын
Came in time 👍
@victormendoza9163
@victormendoza9163 4 жыл бұрын
Great! Thanks!
@GhalibAnsari19945
@GhalibAnsari19945 3 жыл бұрын
Github link for your code please. Awesome tutorial.
@_danisson
@_danisson 3 жыл бұрын
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 .
@rajashreeshimpi8395
@rajashreeshimpi8395 3 жыл бұрын
Yes getting same issue
@_danisson
@_danisson 3 жыл бұрын
@@rajashreeshimpi8395 I did something else to get response, but the way he did in this video doesnt work.
@chapunet
@chapunet 3 жыл бұрын
@@_danisson Hi, what you did to get response? I have the same issue.
@aleksandrgurnak3911
@aleksandrgurnak3911 3 жыл бұрын
Thank you so much man!
@nikhilgoyal007
@nikhilgoyal007 11 ай бұрын
this was super! thanks so much!
@MithileshJha_MCA
@MithileshJha_MCA 3 жыл бұрын
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
@MementoNeli
@MementoNeli 3 жыл бұрын
Shum mir shiqpe ;)
@tercio.design
@tercio.design Жыл бұрын
brooooo amazing, thank you !!!!
@Euronymous331
@Euronymous331 2 жыл бұрын
Amazing tutorial ❤ thank you so much
@javierdiaz1887
@javierdiaz1887 Жыл бұрын
I just need to know what is the point to use SQL and NoSQL? good video btw.
@konradkauzny3560
@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.faizanfaizi4158
@m.faizanfaizi4158 11 ай бұрын
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
@DarkAnderTernopil
@DarkAnderTernopil 3 жыл бұрын
Thank you, this course is very good
@jacksonzhang8833
@jacksonzhang8833 3 жыл бұрын
Thank you for helping me out!!!
@matheuscamarques
@matheuscamarques 2 жыл бұрын
In this case, are you using the micro-service just to replicate the database?
@chhengpanhchakly
@chhengpanhchakly 2 жыл бұрын
Thank you so much🥰❤
@AndresLobaton
@AndresLobaton 3 жыл бұрын
Amazing tutorial, thank you so much sr
@danielpaszek9071
@danielpaszek9071 3 жыл бұрын
Great tutorial
@dawid_dahl
@dawid_dahl 3 жыл бұрын
Thanks so much! 🙌🏻
@oyinlolaolasunkanmi
@oyinlolaolasunkanmi 3 жыл бұрын
Thank you so Much man.
@heuristicwave8922
@heuristicwave8922 3 жыл бұрын
Awesome Contents!!!
@sivadara5677
@sivadara5677 3 жыл бұрын
Very useful content thank you
@abdelrahmanmysara431
@abdelrahmanmysara431 3 жыл бұрын
thanks , this was helpful
@rajat420420
@rajat420420 2 жыл бұрын
Hi, i have created a queue and sent message there, how can i consume this message in nestjs in new microservice
@sanjayc1295
@sanjayc1295 3 жыл бұрын
How to handle exceptions thrown in one service and to handle the same from the service sending the event?
@guther
@guther 2 жыл бұрын
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.
@misterl8129
@misterl8129 2 жыл бұрын
so a great video, thank U
@amanibraev9862
@amanibraev9862 Жыл бұрын
how to open database tools in VS Code ?
@thathsarasenanayaka8872
@thathsarasenanayaka8872 Жыл бұрын
thanks buddy
@hadirahmani7943
@hadirahmani7943 2 жыл бұрын
Thanks so much
@atovan3236
@atovan3236 Жыл бұрын
I can not find the AMQP url now
@ВадимУсенко-д8ч
@ВадимУсенко-д8ч 2 жыл бұрын
Where is an example of code? Link?
@darknight9185
@darknight9185 3 жыл бұрын
nice. Tutorial
@romanticrebel91
@romanticrebel91 3 жыл бұрын
what if I want to create the dockerfile for each microservice, how does it work for the multiple entry files?
@DuyTran-ss4lu
@DuyTran-ss4lu 3 жыл бұрын
Thanks so much!
@rahff99
@rahff99 2 жыл бұрын
Why we need two different process to run the same app ?
@kasrakasra8925
@kasrakasra8925 2 жыл бұрын
Cause thats called, Microservice.
@cfieroanimation2222
@cfieroanimation2222 2 жыл бұрын
hello, how open menu database/localhost in visual studio
@twitchizle
@twitchizle 3 жыл бұрын
You need to zoom browser. Cant read on phone
@ВячеславШевчук-х9д
@ВячеславШевчук-х9д 3 жыл бұрын
Thanks a lot!)
@olexiy7222
@olexiy7222 3 жыл бұрын
what tool are u using at the beginning to display mysql schemas on the right?
@paulosantana8056
@paulosantana8056 3 жыл бұрын
Fantastic
@JeanBaptisteChabi
@JeanBaptisteChabi 7 ай бұрын
Why not Express?
@kamalkamals
@kamalkamals 3 жыл бұрын
why not use nx for this project ?
@mohamdalmhde1322
@mohamdalmhde1322 5 ай бұрын
would you mind if you share the source code
@martinmtandi335
@martinmtandi335 3 жыл бұрын
how do you setup .env file for your DB connection with typeorm
@ClearlyCero
@ClearlyCero 3 жыл бұрын
It's handled through nest docs.nestjs.com/techniques/configuration
@timepass1628
@timepass1628 4 жыл бұрын
Nice Content... What is the database extension (for vscode) that you are using in this video?
@ScalableScripts
@ScalableScripts 4 жыл бұрын
I don't use VSCode sorry so I don't know
@katthacar
@katthacar 4 жыл бұрын
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?
@ScalableScripts
@ScalableScripts 4 жыл бұрын
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
@nhatquang7637
@nhatquang7637 4 жыл бұрын
I have a question that is there any solution to start both the server and listener in one command ?
@ScalableScripts
@ScalableScripts 4 жыл бұрын
I would use Docker check this other example for another app: kzbin.info/www/bejne/fnSZYpudqtF3abM
@damaroro
@damaroro 3 жыл бұрын
You can use concurrently library
@bnd8371
@bnd8371 2 жыл бұрын
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();
@xdev08
@xdev08 11 ай бұрын
Send github link
@pelaoinfo
@pelaoinfo 2 жыл бұрын
Genius...
@DuyTran-ss4lu
@DuyTran-ss4lu 3 жыл бұрын
Awesome
@pyakz2906
@pyakz2906 3 жыл бұрын
Does both database have the same data?
@MuhammadAwais-007
@MuhammadAwais-007 3 жыл бұрын
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
@andreas6508
@andreas6508 3 жыл бұрын
what IDE are u using?
@henrycontal
@henrycontal 3 жыл бұрын
Webstorm
@MenAmongTheRuins77
@MenAmongTheRuins77 5 ай бұрын
32:11
@akmalahmadjonov6800
@akmalahmadjonov6800 Жыл бұрын
nest g resource fileName module
@dsha256
@dsha256 2 жыл бұрын
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
@kobakamladze4175 Жыл бұрын
Can you recommend any other courses about microservices with nodejs and rabbitmq with deeper explaination of some topics?
@kerodfresenbetgebremedhin1881
@kerodfresenbetgebremedhin1881 2 жыл бұрын
bad example to showcase microservices, but good explanation nonetheless
@AfifAlfiano
@AfifAlfiano 3 жыл бұрын
Awesome
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 917 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Nest.js Microservices Tutorial in 20 Minutes
17:56
Michael Guay
Рет қаралды 116 М.
Learn NestJS Microservices in 20 Minutes
20:34
Tech Vision
Рет қаралды 27 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 228 М.
Microservices Explained in 5 Minutes
5:17
5 Minutes or Less
Рет қаралды 831 М.
Build Nest.js Microservices With RabbitMQ, MongoDB & Docker | Tutorial
1:24:40
The Right way to write Nest.js & Typescript clean-code - SOLID
17:55
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 131 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 919 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН