Prototyping Event Sourced Microservices with LES
This tutorial shows how to use the
les-node tools to build a NodeJS based event sourced microservice straight from an event storming.
les-node are part of the LESTER stack (“Let’s Event Source Together”). LESTER takes a specification for an event sourced system and produces deployment-ready commands, events, documentation and infrastructure. It is designed to make prototyping and starting implementation of an event based system simple and keep development efforts closely aligned with business objectives and requirements.
Event storming is a communications tool. It shows a path through a system, as events on a timeline.
Event Markdown (EMD) is a simple language used to capture the results of an event storming.
"Green" EMD is event markdown which follows some simple conventions and has enough information to use it to generate a working event sourced CQRS API from it.
Event Markup Language (EML) is a YAML schema which describes the structure of a CQRS/ES system.
Build a CQRS/ES system in NodeJS and deploy it with docker-compose.
Explore the newly generated API using CURL and Swagger
Event storm. Build & explore API. Rinse. Repeat.
Edit Event Markup to customize the system and use functionality not available from EMD.