Interacting with a GraphQL server is done via HTTP. We learned in Chapter 9, Interacting with Restful APIs, that axios is a great HTTP client. So, in this chapter, we'll cover how to interact with a GraphQL server using axios.
To help us learn, we'll create a React and TypeScript app to return information about our GitHub account. So, our first tasks are to get a token that will give us access to query the GitHub GraphQL server and scaffold a React and TypeScript app.