Managing Real-Time Data with AWS AppSync Subscriptions

Managing Real-Time Data with AWS AppSync Subscriptions
Managing Real-Time Data with AWS AppSync Subscriptions

CLOUD LABS

Managing Real-Time Data with AWS AppSync Subscriptions

In this Cloud Lab, you will use AWS AppSync to create a real-time GraphQL API with the Pub/Sub messaging model and use its real-time WebSocket connection in an application.

8 Tasks

intermediate

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of core concepts related to AWS AppSync
Hands-on experience creating a real-time GraphQL API
The ability to work with APIs using the Pub/Sub messaging model
Hands-on experience integrating a real-time GraphQL API with a Flutter application

Technologies
AWS logoAWS
AppSync
GraphQL logoGraphQL
DynamoDB logoDynamoDB
Cloud Lab Overview

AWS AppSync facilitates the creation and handling of serverless GraphQL and Pub/Sub APIs. GraphQL APIs pull data from multiple sources using a unified endpoint, while Pub/Sub APIs help share data in real time using WebSocket connections without servers.

In this Cloud Lab, you’ll create the real-time GraphQL API with a Pub/Sub messaging model and use the DynamoDB table as the data source. You’ll execute the GraphQL mutation and query in the editor. Using subscriptions and mutations, you’ll test the real-time API in the GraphQL query editor. Finally, you’ll integrate the GraphQL API into a functional Flutter chat application.

By the end of this Cloud Lab, you’ll have hands-on experience in managing real-time GraphQL APIs using AWS AppSync and connecting them to front-end applications. The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.AppSync API Using Wizard
Create a Real-Time API
Explore GraphQL Mutation and Query
3.Build a Chat Application
Create a Blank API
Edit the Schema
Putting It All Together
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Before you start...

Try these optional labs before starting this lab.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image