GraphQL and Android


GraphQL is a rapidly-ascending alternative to REST for implementing Web services. Developed by Facebook, GraphQL is popular in Web development. And, where Web service development goes, mobile app development — including Android — inevitably follows.

This book helps you understand what GraphQL is and how to communicate with a GraphQL server, both in terms of GraphQL specifications and syntax and in terms of Android code for reaching those servers.

This book is published in PDF, EPUB, and MOBI/Kindle formats, for use in your favorite digital book reader.

Note that the sample GraphQL server used in various book examples will be shut down on or after 31 December 2022, due to the age of this book and that server.

Details

The Table of Contents

Each bullet shown below represents a chapter. Use the search field in the nav bar to search all of the CommonsWare books to see what they hold!

  • GraphQL in Five Minutes
  • The Role of GraphQL
  • Top-Level GraphQL Terms
  • GraphQL Test Environments
  • Basic Dynamic GraphQL in Android
  • Basic Static GraphQL in Android
  • Objects, Fields, and Types
  • Fragments
  • Arguments and Variables
  • Aliases
  • Interfaces, Unions, and Inline Fragments
  • Miscellaneous GraphQL Syntax
  • Introspection
  • Authentication and the Viewer Pattern
  • Queries and Paging
  • Securing GraphQL
  • Testing GraphQL
  • Advanced Apollo-Android