A REST API that uses the AWS SDK for JavaScript (v3) to track work items in Amazon Aurora and sends email reports with Amazon Simple Email Service (Amazon SES).
- Running this code might result in charges to your AWS account.
- Running the tests might result in charges to your AWS account.
- We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see Grant least privilege.
- This code is not tested in every AWS Region. For more information, see AWS Regional Services.
- See the JavaScript (v3) prerequisites
- Create an email address identity in Amazon SES.
See the steps for creating the resource stack.
- Populate the
env.json
file with the outputs from the preceding "create the resources" step. - Run
yarn
. - Run
yarn start
. - Make calls to the API. Use a tool like Postman or run the front-end client linked in the additional resources.
To avoid charges, delete all the resources that you created for this tutorial.
See the steps for destroying the resources with the CDK.
Note: Running the app modifies the table and the bucket, so you must delete these resources manually through the console before you can delete the stack.