A Scala web application demonstrating event-sourcing best practices