GraphQL is rapidly becoming adopted as the de-facto means of retrieving and changing data, whether the source is an API, a database, or some other application that doesn’t expose a nice REST API. With GraphQL, developers can specify exactly the data they want without worrying about where the data is or how to access it. GraphQL then coordinates across the various back-end systems to ensure the request is fulfilled, much like a SQL query allows you to easily work across multiple database tables with one command. This is particularly useful for commerce, where the data needed to render a web page or screen may have to come from 10 or 20 different APIs or other systems.
GraphQL is used by a number of who's who companies, ranging from Facebook (its creator) to the New York Times to Twitter. With major commerce platforms just now realizing its potential and starting to introduce support for it, this booklet will provide readers with an overview of what GraphQL is, its benefits, and how it can be applied to commerce.
Kelly Goetsch is Chief Product Officer at commercetools. He came to commercetools from Oracle, where he led product management for their microservices initiatives. Before that, he was an architect with ATG. He is the author of four books - GraphQL for Modern Commerce (O'Reilly, 2020), APIs for Modern Commerce (O'Reilly, 2017), Microservices for Modern Commerce (O'Reilly, 2016) and E-Commerce in the Cloud (O'Reilly, 2014). He holds a bachelor's degree in entrepreneurship and a master's degree in management information systems, both from the University of Illinois at Chicago. He holds three patents, including one key to distributed computing.