0.2.0 • Published 4 years ago

message-db-client v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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

0.2.0

4 years ago