W.T.F. is GraphQL?
summary
Builds a Star Wars profile page to explain GraphQL by showing exact queries, server resolvers, and an added voting feature implemented with Express, graphql-js, the GraphiQL IDE, and DataLoader for batching. Shows that round trips drop (example from 12 requests to 3) and responses return only requested fields, and demonstrates wiring resolvers to databases, parallel resolver execution, caching trade-offs, and cases where GraphQL’s added complexity or tooling cost outweighs benefits for simple single-endpoint APIs.
AI-written summary · about
chapters (14)
- 0:00GraphQL intro
- 6:38REST API problems
- 12:26First custom endpoint
- 16:31Custom endpoint limits
- 19:41GraphQL specs and benefits
- 23:22GraphQL query example
- 26:16GraphQL vs REST
- 30:17GraphQL caching
- 35:31Building GraphQL server
- 41:56GraphQL data sources
- 43:47Extending queries
- 46:20Business logic in GraphQL
- 47:49GraphQL future tools
- 51:37Q&A
related talks
40mW.T.F. is GraphQL
46mGraphQL 101 - Stop RESTing, Start Querying
32mHow to get started and build something with GraphQL
27mWhat the hell is graphQL and why should I care
28mExploring GraphQL
18mCrafting compelling real-time web experiences with GraphQL
01h 00mGraphQL - A query language to empower your API consumers
26mEverything You Need to Know About GraphQL in 3 Components
