Building Realtime Serverless APIs with GraphQL
summary
Builds a GraphQL layer over an existing Star Wars REST API using Apollo Server and shows subscriptions over WebSockets; demo reduces dozens of per-page REST calls to three backend calls by using Apollo data sources and caching/data loader behavior. Implements mutations that validate types, adds a pub/sub subscription channel that pushes planet updates to clients, and wraps the whole API as a serverless Azure Function, which deploys and runs successfully. subscriptions and data sources are the key enablers.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 3:35Star Wars API
- 5:41GraphQL
- 9:09Schema
- 11:01Code
- 15:49Subclasses
- 17:39GraphQL Schema
- 24:23Data Loaders
- 28:23Rest
- 29:23Mutation
- 37:23Realtime Serverless APIs
- 38:25GraphQL Subscriptions
related talks
01h 04mBuilding real-time API's with GraphQL
32mHow to get started and build something with GraphQL
46mGraphQL 101 - Stop RESTing, Start Querying
39mArchitecture of scalable and resilient NodeJS apps with GraphQL & event-driven serverless
58mCrafting compelling real-time web experiences with GraphQL and React
34mGraphQL real-time subscriptions
28mGraphQL Servers
34mPower real-time serverless applications with GraphQL and AWS AppSync
