Introduction to GraphQL
summary
Shows a working Node.js + Express GraphQL server on port 4000 using Apollo Server Express and a Create React App frontend using Apollo Client (boost) and React hooks. Demonstrates schema types (non-null lists, scalars), queries vs mutations, resolver signature (parent, args, context), and that resolvers only run if fields are requested. Live examples: a hi query and a breweries→beers nested schema, using GraphQL Playground for interactive testing.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:51Why GraphQL
- 1:56Speed up development
- 4:02Reduced web latency
- 5:14GraphQL vs REST
- 5:58Query
- 7:32Schema
- 11:45GraphQL Resolvers
- 17:47Express Server
- 26:02React App
- 31:57Testing
related talks
59mGoodbye REST; Hello GraphQL
30mGraphQL - A different way to API
26mEverything You Need to Know About GraphQL in 3 Components
32mFrom learning to thinking in GraphQL
27mWhat the hell is graphQL and why should I care
58mCrafting compelling real-time web experiences with GraphQL and React
32mHow to get started and build something with GraphQL
46mGraphQL 101 - Stop RESTing, Start Querying
