Building a GraphQL API with AWS AppSync and DynamoDB
Lab Steps
Ready for the real environment experience?
Description
AWS AppSync is a fully-managed, pay-per-use GraphQL service that enables developers to prototype and build web and mobile applications using real-time data. With AppSync, developers can create an API that is accessible under a single endpoint and utilizes GraphQL as a unified query language. AppSync handles the data requests and responses, as well as connections to one or more data sources like AWS Lambda, AWS DynamoDB, and HTTP APIs.
In this lab, you will work with the AWS AppSync interface via the AWS console to build a GraphQL API backed by multiple data sources. You will learn how to manage data models, schemas, resolvers, and more via the AWS AppSync console.
Note: GraphQL concepts and terminology are used throughout this lab. Students who are unfamiliar with GraphQL, or who need a refresher, are highly encouraged to perform the Introduction to GraphQL hands-on lab.
Learning objectives
Upon completion of this intermediate-level lab, you will be able to:
- Create a GraphQL API using AWS AppSync
- Configure DynamoDB tables as an API data source
- Define a GraphQL Schema
- Attach and update GraphQL Resolvers
Intended audiences
- Candidates for the AWS Certified Developer - Associate Certification
- Cloud Architects
- Software Engineers
- Serverless Developers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- GraphQL
- AWS DynamoDB
The following content can be used to fulfill the prerequisite:
Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications.
Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content.