A Fictional dining club in New Town Birmingham, used to exercise usage of EventBridge.
I wrote a blog about this
All of the infrastructure required to run this is in the Cloud Formation template.yaml file.
Emails are created and stored in dynamoDB with the messageId added to a dispatchQueue, this dispatch queue is handled by lambda which will read of events from the dispatch queue at a sedate 🤞 rate and dispatch them using aws SES.
This service uses a single table with heterogeneous keys, so see the data design for the key names.
Create a new Vendor
Update the state of a vendor.
Published on the creation of a new vendor with the details of vendor and its vendorId
Published on updates to an existing vendor, contains past and new state.
Build and lint:
npm run build
Publish:
npm run publish