This project contains source code and supporting files for a serverless application that you can deploy with the AWS Serverless Application Model (AWS SAM) command line interface (CLI).
The serverless application consists of the following AWS resources:
A post endpoint is exposed through API Gateway, which then triggers the Lambda function.
The Lambda function then publishes a message to an SNS topic that will email subscribers.
Note: The sample application is configured as a webhook for QuickNode QuickAlerts.
This sends an email based on real-time blockchain events.
Follow the official AWS documentation to setup AWS SAM CLI.
After installing, make sure to configure your AWS credentials by following this guide.
Run the following commands:
sam build
sam deploy
After the initial deployment, you can quickly sync code and infrastructure changes by running sam sync
.