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

Summary

This post demonstrates how to build a simple REST API using AWS SAM and Fauna, a serverless relational database that offers ACID transactions and global replication. The tutorial covers the creation of a database in Fauna, configuration of an access key for your application, secure storage of the key in Parameter Store, deployment of a serverless application that retrieves the key to connect to Fauna, and addition of routes to store and retrieve data from the database. The API provides CRUD operations (create, read, update, delete) for stores in the Fauna database. The tutorial also covers best practices for securing secrets in Parameter Store and deploying the application using AWS SAM and Amazon API Gateway.