The course
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.
Ready to learnYour path through the ideas
Inside the course
Install your tools, choose your setup and verify a local run.
02Introduction 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.
03GraphQL 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.
04Mutations3 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.
05Subscriptions 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.
06The 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.