GraphQL in Action gives you the tools to get comfortable with the GraphQL language, build and optimize a data API service, and use it in a front-end client application.
Summary
Reduce bandwidth demands on your APIs by getting only the results you need—all in a single request! The GraphQL query language simplifies interactions with web servers, enabling smarter API queries that can hugely improve the efficiency of data requests. In GraphQL in Action, you'll learn how to bring those benefits to your own APIs, giving your clients the power to ask for exactly what they need from your server, no more, no less. Practical and example-driven, this book teaches everything you need to get started with GraphQL—from design principles and syntax right through to performance optimization.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
GraphQL APIs are fast, efficient, and easy to maintain. They reduce app latency and server cost while boosting developer productivity. This powerful query layer offers precise control over API requests and returns, making apps faster and less prone to error.
About the book
GraphQL in Action gives you the tools to get comfortable with the GraphQL language, build and optimize a data API service, and use it in a front-end client application. By working through set up, security, and error handling you'll learn to create a complete GraphQL server. You'll also unlock easy ways to incorporate GraphQL into your existing codebase so you can build simple, scalable data APIs.
What's inside
Define a GraphQL schema for relational and document databases
Implement GraphQL types using both the schema language and object constructor methods
Optimize GraphQL resolvers with data caching and batching
Design GraphQL fragments that match UI components' data requirements
Consume GraphQL API queries, mutations, and subscriptions with and without a GraphQL client library
About the reader
For web developers familiar with client-server applications.
About the author
Samer Buna has over 20 years of experience in software development including front-ends, back-ends, API design, and scalability.
Table of Contents
PART 1- EXPLORING GRAPHQL
1 Introduction to GraphQL
2 Exploring GraphQL APIs
3 Customizing and organizing GraphQL operations
PART 2 - BUILDING GRAPHQL APIs
4 Designing a GraphQL schema
5 Implementing schema resolvers
6 Working with database models and relations
7 Optimizing data fetching
8 Implementing mutations
PART 3 - USING GRAPHQL APIs
9 Using GraphQL APIs without a client library
10 Using GraphQL APIs with Apollo client

- 384 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
GraphQL in Action
About this book
Trusted by 375,005 students
Access to over 1.5 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Table of contents
- GraphQL in Action
- inside front cover
- Copyright
- dedication
- brief contents
- contents
- front matter
- Part 1. Exploring GraphQL
- 1 Introduction to GraphQL
- 2 Exploring GraphQL APIs
- 3 Customizing and organizing GraphQL operations
- Part 2. Building GraphQL APIs
- 4 Designing a GraphQL schema
- 5 Implementing schema resolvers
- 6 Working with database models and relations
- 7 Optimizing data fetching
- 8 Implementing mutations
- Part 3. Using GraphQL APIs
- 9 Using GraphQL APIs without a client library
- 10 Using GraphQL APIs with Apollo client
- index
- inside back cover
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access GraphQL in Action by Samer Buna in PDF and/or ePUB format, as well as other popular books in Computer Science & Client-Server Computing. We have over 1.5 million books available in our catalogue for you to explore.