Building a GraphQL API with AWS AppSync and DynamoDB

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Creating a GraphQL API with AWS AppSync
lock
Reviewing the AWS AppSync API
lock
Expanding the AWS AppSync API
lock
Testing the AWS AppSync API
lock
Optional: Update createBook solution

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h 30m
Students8
Ratings
5/5
starstarstarstarstar

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:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students22997
Labs74
Learning paths3

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.