Building Real-time Serverless GraphQL APIs on AWS with TypeScript and CDK
summary
CDK + TypeScript provisions an AWS AppSync GraphQL API, a Lambda data source, and a pay‑per‑request DynamoDB table in about 40 lines of CDK code and deploys it with cdk deploy. The stack uses api key auth, a Note GraphQL schema with queries, a create Note mutation and an onCreate subscription, Lambda resolvers that put and scan the table, and the demo live codes from scratch and then runs queries mutations and subscriptions successfully.
AI-written summary · about
chapters (18)
- 0:00Start
- 1:13Introduction to Graphql
- 1:29Live Coding Demo
- 1:42Graphql
- 3:46Resolver
- 4:33Data Fetching
- 6:29Graphql as a Data Source
- 6:42Graphql Subscriptions
- 6:53Subscriptions
- 7:27Implement Graphql Subscriptions
- 8:21App Sync
- 11:02Initializing a New Cdk Project
- 11:22Appsync with Cdk
- 13:27Create the Api Reference
- 14:23Create Our Graphql Schema
- 15:32Create a Lambda Function
- 16:50Resolvers
- 21:28Dynamodb Scan
related talks
20mBuilding a Highly Scalable Cloud API Gateway
26mBuild a full-stack app with GraphQL & AWS AppSync
44mAWS CDK. Infrastructure as Code with TypeScript
30mLive Coding on the AWS CDK
51mSDK driven GraphQL
28mGoodbye YAML, Hello AWS Cloud Development Kit
25mGetting into the Cloud with TypeScript
27mBuilding serverless applications with AWS AppSync
