Company
Date Published
Author
Rob Sutter
Word count
1662
Language
English
Hacker News points
None

Summary

You can quickly deploy a REST API with AWS App Runner and Fauna by following these steps: You create a database in Fauna, securely store an access key in Parameter Store, and then use this information to launch an App Runner service that builds, deploys, and runs your code. To start, you need to have access to a Fauna account, a GitHub account, and an AWS account, register for these services if necessary, and create the required resources such as a database in Fauna, a Parameter Store parameter, and an IAM role with permission to read from Parameter Store. You then use the App Runner console to create and deploy your service, which will clone your repository, install dependencies, and deploy your application to the Default domain shown on the Service overview card. Finally, you test your API by sending HTTP requests to the App Runner URL using curl or an API client like Postman, and before running an API in production, you should add authentication, monitoring, input validation, and more.