© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
K. S. P. Reddy, S. UpadhyayulaBeginning Spring Boot 3https://doi.org/10.1007/978-1-4842-8792-7_15

15. GraphQL with Spring Boot

Siva Prasad Reddy Katamreddy1   and Sai Subramanyam Upadhyayula2
(1)
Hyderabad, India
(2)
Rotterdam, The Netherlands
 

In the previous chapters, you saw how to implement a RESTful API using Spring Boot. This chapter will teach you how to work with GraphQL using Spring Boot.

Introduction to GraphQL

First, let’s understand GraphQL and why you need it. GraphQL is a query language that gives you the power to ask exactly what you want as a response from the server and nothing more. When you are already building REST APIs, it’s pretty common that ...

Get Beginning Spring Boot 3: Build Dynamic Cloud-Native Java Applications and Microservices 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.