The 3 W's of GraphQL: What, When, and Why
summary
GraphQL is a query language plus server runtime that defines a schema-first approach acting as a contract; the server parses queries into an AST, runs resolver functions that fetch from REST, databases, or microservices, and returns JSON shaped exactly like the query. Demonstrations use the PokéAPI and Star Wars APIs and tools like Apollo Studio and Apollo Client; trade-offs include moved server work and harder caching, while federation supports 50–100+ client apps and scales team-owned subgraphs.
AI-written summary · about
chapters (20)
- 0:00Start
- 4:12GraphQL schema
- 5:43Schema-first approach
- 7:33GraphQL Operations
- 8:39Queries and Responses
- 12:16Some characteristics of GraphQL
- 21:02Schema Documentation
- 21:45GraphiQL
- 23:37GraphQL Playground
- 25:14Apollo Studio Explorer
- 28:07Clients make one request
- 35:16Some advantages of GraphQL
- 36:18You might not need GraphQLif...
- 37:17You might need GraphQL if...
- 37:58Some different GraphQL tools
- 40:40A monolithic GraphQL server
- 43:20A federated GraphQL server
- 44:55The Graph in action
- 45:48Recap
- 46:26Some GraphQL learning resources
