Skip to content

ruiconti/eventsourcing-101

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My contribution

It works now with pytest and typed with mypy. To run tests:

$ pytest .

Exercises roadmap as follows:

  1. Finish CLI through TDD
  2. Understand and debug mongobasket.aggregate.EventRegistry, it's exciting how that works ๐Ÿ‘
  3. Evolve from this design to a CQRS where commands are explicit

Bob's words

This repo contains the code smaples and slides for my "Eventsouring 101" talk.

The master branch contains a simple shopping basket, with tests, that stores state in a mongo database. The "from_scratch" branch has the code in a state ready for the live code exercise. The "eventsourced" branch is a less didactic, more fully fledged implementation.

To run the tests, just run make or make tests To start mongo, do make mongo and to view the slides, run make serve and then visit localhost:8000 in a browser.

About

Slides and code for event sourcing 101 talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 79.2%
  • HTML 8.4%
  • CSS 7.7%
  • JavaScript 3.1%
  • Makefile 1.6%