A Simple Serverless GraphQL API for MySQL, Postgres and Aurora
This project uses 3 RDS databases to illustrate the differences between using each of them:
- MySQL-compatible Amazon Aurora
How to Deploy This Project
To deploy this GraphQL API, you’ll need the following:
- An AWS account.
- AWS CLI installed locally.
- API credentials for your AWS account configured in your AWS CLI locally by running
- Serverless framework installed locally via
npm -g install serverless.
Steps to Deploy
Once all pre-requisite items are ready, follow these steps to deploy this example GraphQL API:
npm installto install all the necessary dependencies.
npm run deployto deploy the stack.
Steps to Remove All Resources
After you’ve finished working with this example, remove all resources to make sure you’re not getting billed for unused RDS databases.
npm run remove to remove all resources.