Build a Serverless Weather App with AWS AppSync, GraphQL & AWS Lambda

Get a hands-on intro to serverless applications by building a weather app which provides weather information for popular travel destinations.

We will use AWS AppSync to fetch location data from a DynamoDB table. With the query result we will trigger an AWS Lambda function and pull current weather data for the respective locations through an open weather API. Our Senior Developer Advocate, Chris, and Specialist Solutions Architect, George, show you how to leverage AWS Developer tools like AWS Cloud9 and answer your questions in real-time.

Services you will use:

AWS Lambda –

AWS AppSync –

Amazon DynamoDB –

AWS Cloud9 –

Amazon S3 –

Get to know your hosts:


Chris is a Senior Developer Advocate for Serverless Applications at Amazon Web Services based in New York City. He works with AWS’s developer customers to build serverless architectures for developing and running applications with minimal administration overhead. Prior to this role, Chris was the global Business Development Manager for DevOps at AWS, spent a few years as a Solutions Architect at AWS, and has held senior operations engineering posts at Etsy, Meetup, and other NYC-based startups.


George is a Serverless Specialist Solutions Architect at Amazon Web Services based in Washignton DC. He works with AWS customers to provide deep technical guidance and architecture advice. George has been with AWS for more than 3 years. Prior to this role, George spent his time as a developer, building web applications in Java and NodeJS. He is a Virginia Tech alumni and holds a Computer Science degree.


AWS AppSync – GraphQL as a Service

Day two at re:Invent 2017 was incredibly packed, crowded, and exciting. My favorite announcement so far is the new AWS AppSync, as it aligns with one of the most promising (yet somehow controversial) design principles adopted by the serverless community: GraphQL.

If you are not familiar with GraphQL, we recently explained how to write GraphQL Apps using AWS Lambda, and hosted a webinar about the Love Story between Serverless and GraphQL. Here’s a quick look at what you need to know about AWS AppSync.

Use all the Databases

Ever wanted to use a few different databases to build your app? Different types of databases are meant for different purposes, so it often makes sense to combine them. You might be hesitant due to the complexity of maintenance and coding, but it can be easy if you combine Compose and GraphQL: instead of writing a number of complex REST endpoints, each querying multiple databases, you set up a single GraphQL endpoint that provides whatever data the client wants using your simple data fetching functions.

This tutorial is meant for anyone who provides or fetches data, whether it’s a backend dev writing an API (in any language) or a frontend web or mobile dev fetching data from the server. We’ll learn about the GraphQL specification, set up a GraphQL server, and fetch data from five different data sources. The code is in Javascript, but you’ll still get a good idea of GraphQL without knowing the language.