Course details
GraphQL
Learn how GraphQL describes an API as a typed graph and how clients read, change and watch that data. You will write queries, mutations and subscriptions and design a schema, all on one small bookshop API.
Course curriculum
Introduction to GraphQL4 lessons
Meet GraphQL as a way of asking an API for exactly the shape of data you need, see the problems it fixes, and learn where it lives in a frontend and a backend.
GraphQL Queries5 lessons
Write queries that pick fields, pass arguments and variables, rename results with aliases, reuse selections with fragments and switch parts on or off with directives.
Mutations3 lessons
Write mutations that create and update data, understand why several mutation fields run one after another, and name your operations so logs make sense.
Subscriptions and Data Over Time4 lessons
Use subscriptions to hear about events, compare them with live queries, and let @defer and @stream deliver a slow response in pieces.
The Schema5 lessons
Build the bookshop schema from the type system up: scalars and enums, objects and lists, then interfaces and unions for fields that can return more than one kind of thing.
