0:00
/
0:00
Transcript

Practical Introduction to Event Sourcing with Emmett

...and how Node.js, TypeScript and Emmett can make this smoother!

Titles can be misleading. No special guest this time, but I’d like to introduce you to Emmett. Oh well, most importantly, I'd like to introduce you to Event Sourcing and show you how straightforward it can be. I believe that TypeScript, Node.js, and Emmett can help with that.

For many years, I’ve tried convincing others that Event Sourcing is not so scary and quite useful. I truly believe in that, yet…

I see a chasm between its initial simplicity and its use in production. In our past webinar, Alexey Zimarev said we need Event Sourcing frameworks. After thinking about it, I agree with that take. We’re not yet in the adoption phase to not need a framework or library.

Over a year ago I started packing my Node.js samples into the package, which resulted in…

Emmett: a framework that will take your applications back to the future.

The idea behind Emmett was to make it easier to create business-focused applications and cut unnecessary code without using magic. The combination of using events and their business focus, the expressiveness of TypeScript and the lightness of Node.js is supposed to help with that.

During the webinar I showed step by step:

  • What’s Event Sourcing,

  • How to model and tell the story about your business process using events,

  • How to reflect that in the code, so modelling events, command, business logic,

  • How to test Event Sourcing business logic with Behaviour-Driven Design,

  • Joining that into REST WebApi,

  • using PostgreSQL based storage,

  • build read models.

All of that is in a 1.5-hour webinar. So fasten your seat belts, watch the recording and tell me what you think.

See the full source code for what we did during the webinar: https://github.com/event-driven-io/emmett-starter-postgresql.

This is open content with no paid wall, so I’d appreciate resharing it with your friends!

If you want to learn more about Event Sourcing and ramp up your journey, I’ll be doing an open workshop with Avanscoperta on April 3rd—4th, 7th—8th, 2025. You can sign up too! Sign up here: https://www.avanscoperta.it/en/training/practical-introduction-to-event-sourcing-workshop/

We’ll do learning in a similar hands-on spirit!

Check more about Emmett in:

Cheers!

Oskar


Other Webinars