13

Getting Started with GraphQL

In this chapter, you will learn about the fundamentals of GraphQL, including its schema definition language (SDL), queries, mutations, and subscriptions. The GraphQL API is popular in hand-held device-based apps such as mobile apps because it is fast and efficient in fetching the data and better than REST in certain cases. Therefore, it is important to learn about GraphQL. You will learn more about its comparison with REST in the Comparing GraphQL with REST section in this chapter. After completing this chapter, you will know the basics of GraphQL, including its semantics, schema design, and everything you need to develop a GraphQL-based API using Spring and Spring Boot.

We will cover the following topics in ...

Get Modern API Development with Spring 6 and Spring Boot 3 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.