Build GraphQL Microservices With Nest.js & Apollo Federation 2

  Рет қаралды 18,173

Michael Guay

Michael Guay

Күн бұрын

Пікірлер: 32
@husinsajjadi5331
@husinsajjadi5331 Жыл бұрын
Thank you Michael. I had a big project and I had to do with microservices and your tutorial helped me a lot! God bless you man!
@mguay
@mguay Жыл бұрын
Get my highly-rated Udemy courses at a discount here: michaelguay.dev/udemy/
@qishqish3123
@qishqish3123 Жыл бұрын
Thanks, Great video keep it up
@muratasarslan2359
@muratasarslan2359 Жыл бұрын
Hey Michael, thanks for this video 🙂 Apollo Federation 2 is what I'm working on too. We can achieve sync communication between subgraphs. But, what about async communication? subscriptions are not supported AFAIK. The only thing I found on apollo docs is federation-subscription-tools. However, it's far from being a reliable solution & over complicating the scenario. Any idea for async communication? would be wonderful if we can do it in Nestjs environment. Cheers
@Betelgeuse009
@Betelgeuse009 Жыл бұрын
Очень хороший туториал по GraphQL , спасибо большое)
@jonhjaider1000
@jonhjaider1000 9 ай бұрын
Excellent! thank you very much for this!
@AhmadSalmanKhan-j9t
@AhmadSalmanKhan-j9t 4 ай бұрын
Hi Michael, Is there a way for the subgraph to tell the supergraph to whitelist a query, I was trying to add a custom Directive (public) in the subgraph resolver on a query and wanted to check for that in the gateway and skip token auth for that query. But that is not working in Nestjs. Also on the apollo docs, It is mentioned that Introspect and query should never be used in production. So I'll appreciate if you can guide the public on the production setup of this too. Maybe adding other features on the gateway like dynamic configuration control, rate-limiting, Auth etc.
@gumayuzi939
@gumayuzi939 Жыл бұрын
Great video, well explained Thanks for sharing
@gigakvachakhia4777
@gigakvachakhia4777 Жыл бұрын
thank you. good one.
@monawwarabdullah7438
@monawwarabdullah7438 Жыл бұрын
i started learning about microservices through your videos, now i am able to setup nestjs microservices with kubernetes and docker, can you make a video on best practices of building microservices with kubernetes ?
@mguay
@mguay Жыл бұрын
My new Ultimate Nest.js Microservices course will cover this! Stay tuned for its release in May.
@bgrens1
@bgrens1 Жыл бұрын
What should I do if I want to use MYSQL ???
@azcro-dev
@azcro-dev Жыл бұрын
Great explanation, thank you
@MG-wx8yx
@MG-wx8yx 8 ай бұрын
Hello Michael, or anyone who can help. My question is, can I replace the url with any public graphql api url that is accessible through graphql playground? Does the name of the service in the subgraphs array matter? Cause I keep getting this error message when I use a public graphql api url: Error: Couldn't load service definitions for "institutions" at (api url), what I'm doing wrong?
@chiragprajapati6312
@chiragprajapati6312 Ай бұрын
hey, can you make a project using, Nestjs, MongoDB, graphql, microservice, Nextjs
@mykhailopronin7350
@mykhailopronin7350 Жыл бұрын
Man, it's amazing
@ahmedmazendessouky1551
@ahmedmazendessouky1551 Жыл бұрын
thank you for this great video, I have a question how to exclude some routes that have @isPublic decorator in the auth context?
@saadmeddah6914
@saadmeddah6914 9 ай бұрын
how to inject a laravel service into this gateway ?
@EhsanMoallaee
@EhsanMoallaee 11 ай бұрын
Hi, how to prevent graphql gateway fail if one of our subgraphs is down? how you handle this? This behavior(actually bug) is completely against the microservices architecture concept and seems apollo doesnt care about it!!
@mohamedalali4364
@mohamedalali4364 2 ай бұрын
I know I’m late to respond to this, I had the same question in mind. Apollo Gateway doesn’t directly take care of this, however, from what I can understand, you’re actually able to use an external load balancer and have two instances of the same subgraph running under a load balancer and just share the load balancer URL to the gateway as a subgraph.
@mahendranath2504
@mahendranath2504 Жыл бұрын
Thank you so much ✌✌👍👍👌👌🙌🙌🙏🙏😍😍
@g-luu
@g-luu Жыл бұрын
Thanks. Would like to see how nestjs plays with tRPC
@mguay
@mguay Жыл бұрын
Good video idea. Thanks!
@kamiar3001
@kamiar3001 11 ай бұрын
Is possible to have many-to-many relations in this video you were talking about one user having many posts, so one post belongs to one user, just imagine how it would be possible to have one post belong to many users, how GraphQL can handle it?
@codingwithnipu
@codingwithnipu Жыл бұрын
can you solved the federation with subscription problem in code first?
@adriandrozman3404
@adriandrozman3404 Жыл бұрын
Hello, any updates regarding your Udemy course? thanks!
@mguay
@mguay Жыл бұрын
Stay tuned for its release in May!
@adriandrozman3404
@adriandrozman3404 Жыл бұрын
@@mguay thank you,instant buy for sure!
@bgrens1
@bgrens1 Жыл бұрын
@Module({ imports: [ GraphQLModule.forRoot({ driver: ApolloGatewayDriver, server: { cors: true, "cors:true is redline" "Type '{ cors: true; }' is not assignable to type 'Omit'. Object literal may only specify known properties, and 'cors' does not exist in type 'Omit'." what could be the cause of the error
@hinogi
@hinogi Жыл бұрын
NestJs updated apollo to server v4 so you have to use the express server cors option.
@pronixpriv
@pronixpriv 11 ай бұрын
How did you resolve this issue?
NestJS gRPC Microservices Tutorial
55:04
Michael Guay
Рет қаралды 42 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 201 М.
NestJS + Prisma Deep Dive
51:42
Michael Guay
Рет қаралды 28 М.
Learn Turborepo By Example | Code Sharing, Distributed Cache, & More!
1:47:05
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
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
NestJs Microservices with RabbitMQ
23:21
Computerix
Рет қаралды 18 М.
Best Practices for Designing a Federated GraphQL Schema
59:34
Apollo GraphQL
Рет қаралды 14 М.
Nest.js Microservices Tutorial in 20 Minutes
17:56
Michael Guay
Рет қаралды 114 М.
NestJS Tutorial For Beginners - Learn NestJS
51:49
PedroTech
Рет қаралды 17 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН