Modernize Your APIs With GraphQL
summary
Demo uses the SWAPI REST endpoints versus a single GraphQL query and shows a real call reduced from 176 ms to 15 ms and from many requests to one, with the demo code on github.com/robzoo. Production pattern uses AppSync pipeline resolvers to orchestrate DynamoDB, Lambda, API Gateway and Aurora, plus DynamoDB streams and a local resolver for out‑of‑band updates. Real‑time works via subscriptions over websockets. Authentication supports Cognito + API Key + IAM, and AppSync adds caching, X‑Ray and CloudWatch observability.
AI-written summary · about
chapters (11)
- 0:00Introduction and demo setup
- 4:16What is GraphQL and how it works
- 7:02GraphQL queries mutations subscriptions
- 11:15GraphQL server and schema design
- 15:08REST vs GraphQL comparison
- 18:36Modernizing APIs with GraphQL
- 22:47Taking GraphQL to production
- 26:40GraphQL best practices and pitfalls
- 32:40AWS AppSync for scalable APIs
- 37:40Security and observability in GraphQL
- 38:28Q&A session
