Implement a notification interface for emails and/or SMS. Enforce required fields for concrete events. Build a service that listens to events of the SMS/email type and throw events where applicable.
Depending on business needs you can then throw the event during actions or on a schedule.
3
u/RaZoR0987 May 18 '26
Use punctuation please
2
u/adventureloverishere May 18 '26
So much free content available on youtube. Look at system design questions to understand the design first before you get to implementation.
2
u/Fletsky May 18 '26
https://refactoring.guru/design-patterns/observer
1
u/TheFaustX May 18 '26
Implement a notification interface for emails and/or SMS. Enforce required fields for concrete events. Build a service that listens to events of the SMS/email type and throw events where applicable.
Depending on business needs you can then throw the event during actions or on a schedule.