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: