voluntree-uk / app-next

NextJS Application for Voluntree
https://platform.voluntree.net
1 stars 0 forks source link

Wire event post processing processor scheduling #63

Closed mika018 closed 8 months ago

mika018 commented 8 months ago

When a workshop slot is created we want to schedule an event that will trigger as soon as the slot ends. This can be scheduled via the infrastructure API. Behind the scenes this API endpoint will trigger a Lambda that will schedule and event with the EventBridge Scheduler that will in turn run the event post processing (host: calculate and award points and inform them via email, attendees: remind them to submit a review via email).

Make sure to implement a rollback in case event scheduling fails.