illustration for Build a GraphQL API with AWS CDK and AppSync
pro

Build a GraphQL API with AWS CDK and AppSync

Instructor

Tomasz Łakomy
55m closed-captioning
·
16 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.8
68
people completed
Published a year ago
|
Updated a year ago

Build a fully managed, serverless GraphQL API powered by TypeScript and AWS CDK in a matter of hours, not days.

AWS CDK gives us the power to go all-in with infrastructure as code for AWS. With it, we can create a full GraphQL API with AppSync, a database with DynamoDB, serverless functions with Lambda, and much more.

In this course, you will learn how to do all of the above from your command line and code editor, which will save you time and give you greater flexibility.

Want to delete your stack? That's fine, just run cdk destroy and poof, all of the resources are gone. Changed your mind? Just deploy the stack again and they all come back.

AWS CDK makes it that easy.

And since we are working from the command line and our code editor, we will take advantage of TypeScript and other third-party libraries to improve our developer experience.

So stop wasting time in the AWS console, check out this course, and learn how to leverage infrastructure as code to your advantage.

Debug a Serverless Stack

Serverless + GraphQL gives you a lot of power but one area that you can find yourself lost with is debugging the stack when something goes wrong.

Visualizing your problem can give you just the context that you need to fix the issue. You'll learn how to utilize AWS X-Ray to do just that and fix slow queries

Course Overview

Prerequisites

AWS free tier is amazing for building out projects as you learn but in many services, you can be automatically kicked out of the free tier for various reasons.

That is why it's important to set up a billing alarm if this happens.

What this 4 minute micro-course to keep your wallet safe:

Use AWS Billing & Cost Management Dashboard to keep your AWS bill to minimum

Gain These Skills

You will learn a productive workflow for creating and maintaining a GraphQL API with AWS AppSync through the Cloud Developer Kit. The general flow that you will get used to is: updating the GraphQL schema, deploy necessary resources in AWS with CDK, implement the necessary logic inside of a Lambda function (by reading/updating DynamoDB), redeploy, debug/test/execute queries and mutations, repeat. 🔁

Through this workflow, you'll also learn:

  • Build infrastructure as code with CDK
  • Design a GraphQL Schema
  • Debug slow Queries in your API
  • CRUD with DynomoDB and Lambda

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Practical, broken down into manageable pieces, excellent instructor

    Learner
    6 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I learned a lot about how CDK worked. I would prefer this course was updated to CDK v2, though.

    Learner
    6 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I really expected this to be a repeat of content I was already aware of. To my surprise, Tomasz throws in codegen and performance tips that I had no idea how to check. Great job!

    Tony Alves
    8 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Tomasz' courses are as usual, pretty high quality

    Sean
    10 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    My current task an pipeline, that deploys an app sync with multiple datasources, (lambda and dynamodb) by using aws cdk. This courses shows me everything i need and even gives me additional sugar in form of autogenerating typescript types from graphql.

    Vilkaz
    a year ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Must be update the particular dependencies and fixed code, I have review with error to update libraries and dependencies and change base code to fixed the code with some difference to review in presentation

    Learner
    a year ago

Course Content

55m • 16 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers
    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout
    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use
    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.