We will be building a horizontally scalable GraphQL API that runs over a PostgreSQL database powered by AWS’s serverless Aurora product. We will be using Hasura for the GraphQL API, AWS ECR and ECS to run the docker image and AWS Cloudformation to deploy resources.
First, huge shout out to the team at Hasura. Their product allows any professional to feel like they are part of the GraphQL buzz and provides incredible value to any project.
To accomplish the article’s title, we will need to assume some AWS resources are already in place.
We also need to assume you have some things configured on your local machine.
We will accomplish our goal in 3 steps. First, push the Hasura image to an Elastic Container Registry (ECR). Second, gather Cloudformation template parameters and walk through what it does. Third, deploy the Cloudformation template using the AWS CLI.
All resources for this article can be found at this git hub repo.
#graphql #serverless #hasura #aws