From the course: GraphQL for Enterprise Developers
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Understanding federated architecture - GraphQL Tutorial
From the course: GraphQL for Enterprise Developers
Understanding federated architecture
- [Instructor] A typical GraphQL request looks something like this. On the left-hand side of our screen, we see all of the different clients that we could send a GraphQL request from. We send that query to a GraphQL server here in the center, which sits in front of one or more of these data sources. It could be any data source or any combination of data sources. Then our GraphQL server is going to deliver our data back in a single response to our client. So this is typically how a GraphQL API works. In recent years though, we've started to see GraphQL microservices come online. So here we have this GraphQL gateway that sits in front of different GraphQL microservices. Now, typically these GraphQL microservices are going to represent one part of the domain. So we might have an accounts team that focuses just on the accounts API and a colors team that focuses just on the colors API, and maybe we have another team dedicated to reviews, and they're only responsible for their part of the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.