From the course: GraphQL for Enterprise Developers

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Creating a graph

Creating a graph

- [Instructor] The next thing we want to do is to create a new graph that's going to make use of some data from our endpoints. Couple things to think about. Thing one is that we have cats-federation.fly.dev running out there on the internet. So we're going to use that here. We just need to insert our GraphQL endpoint here. If you needed to add any HTTP headers for authentication, you could. We also need to provide the name of the service, so I'm just going to call this cats, and we'll continue. We need to also supply the name of this graph, so we'll call it PetsFederation. This graph ID is really important because it has to be unique, and this means unique across all of the graphs that are monitored with this tool. So it could be called PetsFederation-1. So now I click Continue. This is going to set this up as a super graph. Okay, so now we can check this thing out. You can click on Query, that'll take you directly to the explorer, and we should be able to send a query for our cats…

Contents