0.0.1 • Published 6 months ago

ellert v0.0.1

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
6 months ago

Conventional Commits Discord

ellert store

Ellert is an open source Event Store on top of Postgres.

Installation

npm install ellert

Usage

import Ellert from 'ellert';

const poolConfig = {
  host: "localhost",
  port: 5432,
  database: "postgres",
  user: "postgres",
  password: "123456"
};

const ellert = await Ellert({ poolConfig });

const streamResult = await store.appendToStream("projectKickedOff", [
  {
    type: "projectKickedOff", data: {
      title: "Ellert"
    }, metadata: {}
  }
]);

Why Ellert?

Ernst Ellert is a fictional character from the German science fiction series Perry Rhodan. He is a mutant and a teletemporarian. Teletemporation is the ability to physically travel through time... and that's what we do with events.

Want to help?

This project is just getting off the ground and could use some help with cleaning things up and refactoring.

If you want to contribute - we'd love it! Just open an issue to work against, so you get full credit for your fork. You can open the issue first, so we can discuss, and you can work your fork as we go along.

If you plan to distribute the code, keep the source code public to comply with AGPLv3. To clone in a private repository, acquire a commercial license.

If you see a bug, please be so kind as to show how it's failing, and we'll do our best to get it fixed quickly.

Before sending a PR, please create an issue to introduce your idea and have a reference for your PR.

We're using conventional commits, so please use it for your commits as well.

Also, please add tests and make sure to run npm run lint-ts or yarn lint-ts.