Uniquely: serverless royalty payouts on AWS with Terraform
Maneet Goyal
Published
0
A serverless backend for a clothing design business that pays its designers monthly royalties.
- A monthly EventBridge job totals each designer’s sales, applies royalty rates and VAT, and sends a batch payout through Trolley
- Designers under the payout threshold roll over to the next month
- Payment status and invoice PDFs arrive through webhooks, with an HMAC signature check before any record is updated
- AppSync GraphQL API over DynamoDB, with the whole stack defined in Terraform
Stack: AWS Lambda, AppSync, DynamoDB, S3, EventBridge, Terraform, Node.js