Book Image

Beginning GraphQL

By : Xavier Decuyper
Book Image

Beginning GraphQL

By: Xavier Decuyper

Overview of this book

This fast-paced course is specially designed for learning all aspects of GraphQL. You will start by understanding basic features of this language. You will learn how to integrate GraphQL with server-side applications, and how to implement the querying of data in real time. You will also discover ways to connect GraphQL with server-side applications using the Apollo client. By the end of the course, you will be able to successfully create fast client-server REST-like applications.
Table of Contents (3 chapters)
Chapter 2
Querying Real-Time Data
Content Locked
Section 2
Real-Time Query Processing
Real-time data querying has become a need of the hour. By processing the data in real time, we can gain easy and real-time insights about the data. This section covers the following: - Refactoring the code to make it more readable - Subscriptions - Hooking up PubSub - Adding Subscriptions to Schema - Configuring the Server to Use WebSocket