GraphQL is an end-to-end system for creating and consuming APIs, providing a more flexible alternative to using traditional RESTful web services, such as the one created in Chapter 23. In this chapter, I explain how GraphQL services are defined and how queries are performed. In Chapter 25, I demonstrate the different ways that a GraphQL API can be consumed by a React application. Table 24-1 puts GraphQL in context.
Putting GraphQL in Context
What is it?
GraphQL is a query language that produces APIs.
Why is it useful?
GraphQL provides the client with flexible access to data, ensuring that ...