August 26–28, 2024

Does Your API Need a REST? Check Out GraphQL

GraphQL is a declarative query language that simplifies retrieving data from an application's back end. It provides a clear and comprehensive description of the data in your API, giving you the ability to request only what you need. This makes it easy to evolve APIs over time and enables powerful developer tools. In this talk, I will cover the basics of GraphQL and how it differs from traditional RESTful API architectures. You will learn how to construct API requests using the query language on the client side. On the server side, you will learn how to create a schema and data fetchers (controller methods) to power them. We will also discuss best practices for building GraphQL APIs with Spring Boot, including batch loading, pagination, and error handling. By the end of this talk you will be able to build your first GraphQL API in Spring.

Dan Vega

Spring Developer Advocate
Broadcom