From learning to thinking in GraphQL
summary
GraphQL is a thin query layer; the concrete takeaway is a usable zero‑config server called graphtech (GlenReyes/graphtech) built on Apollo Server that provides TypeScript support, live reloading via webpack, friendly errors and two CLI commands for dev and prod — it works for faster prototyping. Schema practices: prefer non‑null fields, break types small, use specific mutations with unique input and payload types. For performance and auth use the resolver context for auth and DataLoader batching; consider Prisma or Knex for storage.
AI-written summary · about
chapters (20)
- 0:00Introduction and speaker intro
- 1:17What is GraphQL
- 3:51Core concepts of GraphQL
- 5:15Setting up a GraphQL server
- 6:40Introducing Graphpack
- 8:07GraphQL server setup with Graphpack
- 10:15Writing GraphQL code steps
- 11:23Creating a mental model
- 12:49Defining GraphQL types
- 14:36Implementing custom resolvers
- 16:46GraphQL vs REST comparison
- 17:50Querying data in React with GraphQL
- 19:16Deferring expensive parts
- 21:09Handling mutations
- 23:39Mutation naming and best practices
- 24:03Authentication in GraphQL
- 25:33Batching requests with DataLoader
- 27:19Storing data in GraphQL
- 28:50Folder structure for GraphQL
- 30:20Key takeaways and conclusion








