Making SPA Smarter with GraphQL
summary
Explains why GraphQL replaces some REST patterns and gives concrete examples using Apollo client and server and GraphQL Java on Spring, showing query, mutation and subscription code, curl payloads and Apollo gql wrappers; demos include GraphQL Playground, Altair and GraphQL Voyager for schema exploration and gql-gen for code generation. Notes syntax quirks (single numeric type, ! for required, array semantics), subscription over WebSockets is workable but flaky in Java, and a Spring Boot app with JWT via Spring Security successfully enforces auth.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:45GraphQL
- 1:55GraphQL vs Rest
- 2:55Benefits
- 6:57GraphQL Schema
- 9:57GraphQL Programming
- 12:40Mutations
- 14:49Input types
- 21:16Subscriptions
- 26:16Tools
- 28:36Apollo
- 32:34Query Tools
- 39:48GraphQL Voyager
- 41:32Altair
- 43:23Security
- 53:48Post
- 55:03Error
related talks
47mMoving beyond REST: GraphQL and Java & Spring
50mGraphQL-ify your APIs
50mSpring Time: From REST to GraphQL
41mDoes Your API Need a REST? Check Out GraphQL.
55mGraphQL - APIs the New Way
54mTake Control Of Your APIs With GraphQL
46mGraphQL 101 - Stop RESTing, Start Querying
32mHow to get started and build something with GraphQL
