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 – https://aws.amazon.com/lambda/

AWS AppSync – https://aws.amazon.com/appsync/

Amazon DynamoDB – https://aws.amazon.com/dynamodb/

AWS Cloud9 – https://aws.amazon.com/cloud9/

Amazon S3 – https://aws.amazon.com/s3/

Get to know your hosts:

CHRIS MUNNS – AWS SENIOR DEVELOPER ADVOCATE

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 MAO – AWS SPECIALIST SOLUTIONS ARCHITECT:

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.

https://www.twitch.tv/events/XqWXAf3VRImuax_UigQq8w?sc_channel=sm&sc_campaign=Serverless&sc_publisher=TWITTER&sc_country=Global&sc_geo=GLOBAL&sc_outcome=event_registration&trk=_TWITTER&sc_content=SB3&sc_category=AWS_Lambda&linkId=52586069

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.

https://cloudacademy.com/blog/aws-appsync-graphql-as-a-service/

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.

https://www.compose.com/articles/use-all-the-databases-part-1/