GraphQL

Course Code: GRAPHQL

Duration: 2 days

 
 
 
 

GraphQL Course Overview

GraphQL is a query language for APIs and a query runtime engine. It's an increasingly popular alternative to REST given it enables the client to specify the shape of the representation and it minimises the number of requests required to obtain the desired data.

This course comprises sessions dealing with prerequisite topics including HTTP and REST APIs, core GraphQL theory, the building of GraphQL services and clients, queries, types, and yet more GraphQL theory including introspection and best practices.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Delegates have the option of coding in either Java, Python, or JavaScript.

Course Objectives

This course aims to provide the delegate with the skills and knowledge necessary to design and build good quality GraphQL services.

Who will the Course Benefit?

This course will benefit developers who are required to build or maintain GraphQL services and/or clients, and anyone otherwise interested in what a GraphQL service is, how it works, and how to build a good one.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Define the terms API, web service, HTTP, JSON, and serialisation, and REST API
  • Describe how a GraphQL service works
  • Build a simple GraphQL service using Spring Boot (Java), Ariadne (Python), or Apollo (JS)
  • Build a GraphQL client using HttpClient (Java), GQL (Python), or Apollo (JS)
  • Write GraphQL queries exploiting features including arguments, variables, directives, etc.
  • Devise GraphQL types exploiting features including lists, scalar & object types, interfaces, etc.

GraphQL Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: PREREQUISITES

  • APIs
  • Web apps
  • Web services
  • HTTP
  • JSON
  • Serialisation
  • REST APIs

Session 2: GRAPHQL THEORY

  • The problem with REST APIs
  • What is GraphQL?
  • The composition of a GraphQL service
  • Queries and mutations
  • Schemas and types

Session 3: GRAPHQL SERVICES

  • Building a GraphQL service with:
    • Spring Boot (Java) or;
    • Ariadne (Python) or;
    • Apollo (JavaScript)

Session 4: GRAPHQL CLIENTS

  • Building a GraphQL client with:
    • HttpClient (Java) or;
    • GQL (Python) or;
    • Apollo (JavaScript)

GraphQL Training Course

Session 5: QUERIES

  • Arguments
  • Aliases
  • Fragments
  • Operation names
  • Variables
  • Directives

Session 6: TYPES

  • Arguments
  • Lists
  • Non-null fields
  • The query and mutation types
  • Scalar types
  • Enum types
  • Union types
  • Input types
  • Interfaces

Session 7: MORE GRAPHQL THEORY

  • Validation
  • Execution
  • Introspection
  • Best practices
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Requirements

Delegates attending this course should have some knowledge of, or experience in, software development. Ideally delegates will be comfortable coding in Java, Python, or JavaScript to a fundamental level. This knowledge can be gained by attendance on one of the following courses.

Pre-Requisite Courses

Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 2 days

Price: £1,200.00 exc. VAT 


Start Date Options Spaces  
27 Jan 2025
StayAhead Virtual Courses available 
Spaces Book Now 
14 Apr 2025
StayAhead Virtual Courses available 
Spaces Book Now 
07 Jul 2025
StayAhead Virtual Courses available 
Spaces Book Now 
25 Sep 2025
StayAhead Virtual Courses available 
Spaces Book Now 
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

 
 
 
+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2024 StayAhead Training Ltd
Cookies   /   Privacy Policy