What You’ve Done So Far
Whew! You just added a Component that, um, actually does something. This is great! In the process, you also got experience working with the business team when considering idempotence trade-offs.
You’ve also made it so a Component can take advantage of the capabilities offered by another Component. One of the main points of this architecture is to be able to compose functionality from a collection of components, something you did in making identity leverage send-email to get registration emails out to users. Check out Eventide’s documentation for additional insight into how this worked.[60]
But why stop here? You saw how nodemailer works. Could you configure it with a transport that would actually send an email? SendGrid ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access