"GraphQSquirrel"
summary
Builds a shortest‑path “six degrees of Squirrel Girl” finder that combines a third‑party GraphQL wrapper (MarvellQL wrapper) with REST fallbacks and an Elm GraphQL client. Shows naive REST explodes into millions of calls, is limited by 3000 API calls limit, then uses degree‑by‑degree GraphQL + REST comic/characters endpoints, BFS traversal, and caching of full API responses to cut a second‑degree from ~800 to 625 API calls then to 600 API calls. The app works locally with tests and documented API key setup.
AI-written summary · about
chapters (11)
- 0:00Meet Squirrel Girl
- 2:18Six Degrees of Squirrel Girl
- 5:50REST vs GraphQL
- 8:22GraphQL Predictions
- 11:55Real API Challenges
- 14:23Flexibility in Tech
- 16:10Caching Strategy
- 20:48Simplify Your Cache
- 22:35Write Tests for APIs
- 23:42Live Demo Walkthrough
- 24:45Key Takeaways
related talks
35mGraphQL in the Enterprise
23mKiling BFFs with GraphQL and Next.js
55mGraphQL - APIs the New Way
46mGraphQL 101 - Stop RESTing, Start Querying
42mFrom REST to distributed GQL
32mHow to get started and build something with GraphQL
24mI’ve finally seen the light, the future is a graph
41mDemand Driven Applications with GraphQL by Vinci Rufus
