GraphQL Federation with Apollo and NestJS | SQL to GraphQL | GraphQL Complete Course

preview_player
Показать описание
This video explains End to End Demo to implement Graphql Federation with 3 different GraphQL servers and a Federation gateway

To get the most out of GraphQL, your organization should expose a single data graph that provides a unified interface for querying any combination of your backing data sources. However, it can be challenging to represent an enterprise-scale data graph with a single, monolithic GraphQL server.
To remedy this, you can divide your graph's implementation across multiple composable services with Apollo Federation

Quote to Apollo Federation

1. Building a graph should be declarative. With federation, you compose a graph declaratively from within your schema instead of writing imperative schema stitching code.
2. Code should be separated by concern, not by types. Often no single team controls every aspect of an important type like a User or Product, so the definition of these types should be distributed across teams and codebases, rather than centralized.
3. The graph should be simple for clients to consume. Together, federated services can form a complete, product-focused graph that accurately reflects how it’s being consumed on the client.
4. It’s just GraphQL, using only spec-compliant features of the language. Any language, not just JavaScript, can implement federation.
#krish #graphQL #nestJS

Stay in touch:
Рекомендации по теме
Комментарии
Автор

Krish, thanks, thanks and thanks !! I'm your fan number one!
!!! Don't forget to give a star in the repository!

sebas
Автор

My friend you are an angel, thank you!!

guilhermecfialho
Автор

Krish!! That was amazing!! 💥🎊💣 Just finishing your GraphQL Master Class and it is the best source which I was able to find in the entinre internet so far 💪

Thank you so much for that Master Class, this is amazing that you are showing real life production example implementations, not just toys code like most of tutorials in YT

Again, thank you very much!! cannot wait when I will be able to start your microservices course :)

thomass
Автор

I would like to appreciate the level of clarity and good delivery of the content in an easy understandable way.

arv
Автор

Thank you Krish, you are blessed with the amazing gift of teaching, thank you and Namaste

cryptoiseasy
Автор

Excellent Video... Thanks So much Sir.

madhankannan
Автор

Thank you bro! Very helpfull and interesting lesson!!!

jagajaga
Автор

Just thank you for what you've shared. Exactly I was looking for

vladimirtambovtsev
Автор

Keep the works up man, your videos are so interesting

khaledchoqo
Автор

This is amazing! Thankyou for this. I had also been searching for GraphQL federation with NestJS but couldnt find any videos. May I suggest you put NestJS in the video title?

TheWalrus_
Автор

This made my day 😃😍
Sorted out many queries ✌️

yosha
Автор

Your video on the internet is the best intro to GraphQL federation, would be great to see if you can provide an idea of how federation can connect with some apigateway or haproxy

and how individual services communicate via rabbitMQ and its best practices

also how can we implement syncronization (sockets) effectively

and some deployment stratergies )))

arv
Автор

Really this is very helpful. Thank you so much and hope you will come with another amazing tutorial.

udaraattanayake
Автор

great tutorial, Thanks Krish, Keep it up

ajanthabandara
Автор

Thank you very much. This is very useful ❤️

dilanmadushanka
Автор

Thank you so much Krish for uploading such a neat and detailed video on this complex topic. IMO, there is no video on the net, which teaches this topic. Thank you once again. One more request: if you can please extend this video and could add JWT Authentication & Kafka it would be further help us all. Please do consider this request.

HarshalHirve
Автор

Waiting to use this in a real production system... :)

HasiniDayanandaGPlus
Автор

is using typeorm for entities absolutely necessary ? we are using native sql queries and entity manager instead of injectable repos

shubhverma
Автор

...also if you can please introduce an example of. Many to Many relationships and file upload, it would be great. Thank you ☺️

HarshalHirve
Автор

Hi Krish,
How about a new video to showcase Apollo Federation 2 with Apollo Studio and its tools?

muratasarslan
join shbcf.ru