How to use single-table DynamoDB design with GraphQL | Amazon Web Services

This video shows how to use single-table DynamoDB design with GraphQL. Single-table is a DynamoDB pattern in which multiple entities for an application are combined into a single DynamoDB table. Using AWS AppSync, we set up a blog hosting application that contains Sites, Posts, and Comments in a single table. You will learn how to use “lookaheads” in your GraphQL resolvers to understand the nested relations that are requested in your queries. After watching this video, you will understand the tradeoffs of using single-table design in your GraphQL application.

GitHub repo mentioned in this video:
Single-table repo (

About Alex DeBrie:
Alex is an AWS Data Hero. As a member of this community program, he is recognized as a data expert who is at the forefront of technology trends, leveraging his technical expertise to share knowledge and build community. Alex is the author of The DynamoDB Book (, the comprehensive guide to data modeling with DynamoDB, as well as The DynamoDB Guide (, a free guided introduction to DynamoDB. He runs a consulting company where he assists clients with DynamoDB data modeling, serverless architectures, and general AWS usage. He has worked with all kinds of clients, from product companies to consultancies; from government agencies to publicly-traded enterprises.

To learn more:
AWS AppSync Product Details –
AWS AppSync Developer Guide –
Amazon DynamoDB Product Details –

More AWS videos –
More AWS events videos –

Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers — including the fastest-growing startups, largest enterprises, and leading government agencies — are using AWS to lower costs, become more agile, and innovate faster.

#AppSync #GraphQL #DynamoDB #API #Database #AWS #AmazonWebServices #CloudComputing

Duration: 00:09:22
Publisher: Amazon Web Services
You can watch this video also at the source.