/message-db-client

Primary LanguageJavaScriptMIT LicenseMIT

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

  1. npm i
  2. npm run build
  3. docker-compose up
  4. 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:

  1. cd example-app
  2. docker-compose up
  3. npm i (only the first time)
  4. npm start

Credits