Message Db Client
Attempts to be a client for interacting with @eventide/message-db. It is under heavy development and includes a sample app to test each piece of functionality as it's built.
TODO:
- better integration testing
- unit tests
- snapshotting
- feature parity with Ruby library
- performance testing with large scale interactions and streams
- performance testing with large scale interactions and streams
- more robust connection handling - possibly switch to pg-promise
- better shutdown logic on subscribers
- separate subscriber into readers and writers
Links / Relevant Reading
Running Tests
- npm i
- npm run build
- docker-compose up
- npm run test
Sample App - Url Shortener
The sample app is a simple URL shortener using event sourced everything! To run it, the following are required:
- cd example-app
- docker-compose up
- npm i (only the first time)
- npm start
Credits
- practical microservices Major thanks to Ethan Garofolo - twitter | github for writing this book and teaching about event sourced architectures with message-db and node.js!