Normalizing Data from Multiple APIs in GraphQL

  Рет қаралды 7,512

Ben Awad

Ben Awad

Күн бұрын

Learn you might normalize data from multiple apis in GraphQL.
Code: github.com/ben...
----
If you like cooking, checkout my side project: www.mysaffrona...
----
Join the Discord: / discord
----
Patreon: / benawad
----
Follow Me Online Here:
Twitch: / benawad
GitHub: github.com/ben...
LinkedIn: / benawad
Instagram: / benawad97
Twitter: / benawad
#benawad
TikTok: / benawad ​

----
Follow me online: voidpet.com/be...
#benawad

Пікірлер: 23
@estranhokonsta
@estranhokonsta 5 жыл бұрын
Great video and great format. Very simple and easy to understand. And especially very practical content. Ben, you should consider one of the various mentor programs that are out there or maybe develop it more in a functional web app, where the content is more accessible? Just don't forget your KZbin channel :)
@bawad
@bawad 5 жыл бұрын
maybe I will sometime, I won't forget ;)
@juliandavid530
@juliandavid530 5 жыл бұрын
Thanks for this Ben, great content.
@andresmontoya7852
@andresmontoya7852 5 жыл бұрын
Thanks for this Ben, would be great if in your next video you explain how to cache a query search with redis, what you explain here :)
@bawad
@bawad 5 жыл бұрын
Sure
@jjeon9850
@jjeon9850 3 жыл бұрын
Thanks Ben!
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 жыл бұрын
Thank u for this awesome video
@Luddehkuddeh
@Luddehkuddeh 5 жыл бұрын
You could also use Apollo RESTDataSource and setup caching via eg Redis, or something internal. www.apollographql.com/docs/apollo-server/features/data-sources.html
@marcosmg4853
@marcosmg4853 4 жыл бұрын
Hi Ben, thanks for this amazing tutorial. I was wondering if it's possible to make this graphQL queries directly from the client without having a backend? Thanks!
@potatosoup815
@potatosoup815 5 жыл бұрын
Great video, you certainly know your stuff
@juliasetiawan9784
@juliasetiawan9784 3 жыл бұрын
Nice concept ben, btw can you use this concept to use it in microservice as API gateway?
@jeromealtariba7339
@jeromealtariba7339 5 жыл бұрын
great content. thks a lot
@jitendrakumar-007
@jitendrakumar-007 2 жыл бұрын
Hi Ben, Thanks for sharing this awsome knowledge. I tried to call the API in dataSource but it didn't worked. Can you please suggest ?
@jasonshen
@jasonshen 5 жыл бұрын
cool this is usful thanks
@les2997
@les2997 5 жыл бұрын
If both advices are requested, does GraphQL wait for both responses to arrive or are they served twice as soon as each response is available? If we hit both APIs, the responses could arrive at different times. Does GraphQL wait until it's possible to respond with a combined response?
@bawad
@bawad 5 жыл бұрын
Yeah it waits until both fields are resolved
@ComisarioLobo
@ComisarioLobo 5 жыл бұрын
Hi Ben, in an enterprise environment where there are lots of different apps for several business units built with a micro-services architecture, how would you reuse some of these micro-services to build a new app? do you have experience with an API Gateway or Service Mesh in charge of Authentication, Authorization, Logging, Service Discovery, Security, Transformations, Load Balancing, Traffic Control, etc.. that plays well with GraphQL?
@bawad
@bawad 5 жыл бұрын
I don't have experience building an API Gateway, but I have some ideas on how I would go about doing it. You could have a central graphql server act as your gateway and call the microservices in the resolvers
@ComisarioLobo
@ComisarioLobo 5 жыл бұрын
@@bawad Could you consider integrating konghq.com/solutions/service-mesh/ with GraphQL?
@bawad
@bawad 5 жыл бұрын
What is it?
@ComisarioLobo
@ComisarioLobo 5 жыл бұрын
@@bawad kong is an api gateway but also allows you to implement a service mesh pattern. Another alternative to what I'm looking for is sqoop.solo.io/. Maybe sqoop could be a good material for one of your videos in the context of cloud native apps.
@bawad
@bawad 5 жыл бұрын
cool I'll check it out
GraphQL N+1 Problem
16:14
Ben Awad
Рет қаралды 109 М.
DataLoader and the Problem it solves in GraphQL
21:41
knowthen
Рет қаралды 27 М.
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Modern Redis Crash Course: Backend with Express, TypeScript and Zod
2:17:15
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 95 М.
Will React's New Cache Fix Its "Use" Hook?
19:41
Jack Herrington
Рет қаралды 48 М.
Comparing web API types: SOAP, REST, GraphQL and RPC
15:19
AltexSoft
Рет қаралды 94 М.
Guide to the GraphQL Ecosystem
19:47
Ben Awad
Рет қаралды 60 М.
Learn Web Development And ACTUALLY Get A Job | Ultimate Guide
1:33:52
James Cross
Рет қаралды 1,3 МЛН
GraphQL JWT Authentication Implementation
19:00
Ben Awad
Рет қаралды 44 М.
GraphQL Unions Tutorial
7:29
Ben Awad
Рет қаралды 9 М.
GraphQL Basic Types
19:07
Ben Awad
Рет қаралды 29 М.