event-store

Event store

CircleCI

An implementation of the event sourcing paradigm in Typescript.

Documentation

Start by looking at the EventStore class.

Development

npm install

npm run compile

docker-compose up -d

npm test

docker-compose run integration_tests

The database is started at postgres://repositive:repositive@localhost:5433/event-store. Run db.sql (user/pass repositive/repositive) to create the table structure and test.sql to add some sample data.

Building documentation

Deploy

# Make sure we're deploying up to date master
git checkout master && git pull

# (optional) login to NPM
npm login

# Increment NPM version number
npm version major|minor|patch

# Publish to NPM
npm publish