Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b776d6e
adds new demo app
dgoerdes Jan 30, 2026
832af34
general structure and setup for cqrs and eventsourcing with views and…
dgoerdes Jan 30, 2026
194b497
Rename read route from /:id to /get-user-by-id/:id (#13)
goloroden Jan 30, 2026
02263dc
example for non constructor command with event reply
dgoerdes Jan 30, 2026
3d3e7f4
Add .claude/settings.local.json to .gitignore (#14)
goloroden Jan 31, 2026
e048813
removes ignored claude settings file, changes workflow caching
dgoerdes Jan 31, 2026
3dfdeea
adds eventsourcingdb package with client
dgoerdes Jan 31, 2026
973ca15
move event observer into nimbus eventsourcingdb package
dgoerdes Jan 31, 2026
2b59782
adds automatic retries for event observers
dgoerdes Feb 2, 2026
0b00bf7
adds event mappings and observability setup
dgoerdes Feb 7, 2026
b63d7b5
docs: add documentation for the eventsourcingdb package
dgoerdes Feb 9, 2026
c09b633
feat(core): enhance command, event, and query input types for better …
dgoerdes Feb 9, 2026
5d4d139
fixes type issues on the demo app
dgoerdes Feb 9, 2026
bee784d
Merge branch 'main' into feature/eventsourcingdb
dgoerdes Feb 9, 2026
d7276ae
adds publishing step for eventsourcingdb
dgoerdes Feb 9, 2026
173c733
ci: remove the deno cache as it always makes issues
dgoerdes Feb 9, 2026
416ca23
adds unit and integration tests
dgoerdes Feb 10, 2026
02786fc
run scripts with bash
dgoerdes Feb 10, 2026
0d6aade
use type guards for better type safety
dgoerdes Feb 10, 2026
5179a9f
re-export is not necessary anymore
dgoerdes Feb 10, 2026
53f4e36
fixes code smells
dgoerdes Feb 10, 2026
b405718
rename event and command for hono demo
dgoerdes Feb 10, 2026
0626ae8
npm audit for docs
dgoerdes Feb 10, 2026
0167c5c
chore: publish beta version
dgoerdes Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .claude/settings.local.json

This file was deleted.

14 changes: 3 additions & 11 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,16 @@ jobs:
deploy:
name: Format, Lint, Type Check & Test
runs-on: ubuntu-latest
env:
DENO_DIR: deno_cache_dir

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Cache Deno dependencies
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7
with:
path: ${{ env.DENO_DIR }}
key: deno-${{ runner.os }}-${{ hashFiles('deno.lock') }}
restore-keys: |
deno-${{ runner.os }}-

- uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb
with:
deno-version: v2

- name: Install dependencies
run: deno install --frozen

- name: Check formatting
run: deno fmt --check

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ jobs:
- name: Publish utils package
working-directory: ./packages/utils
run: deno publish

- name: Publish eventsourcingdb package
working-directory: ./packages/eventsourcingdb
run: deno publish
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ testem.log
Thumbs.db

.nx/cache

# Claude Code
.claude/settings.local.json

# EventSourcingDB
esdb-data/
21 changes: 18 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
# Add and adjust tests

Whenever new functionality is added, add tests for it afterwards.

When functionality is changed, adjust the tests or add new test cases accordingly.

# Documentation

Documentation is handled in two ways:

- Technical documentation as JSDoc comments in the code. This is mandatory for all publicly exported elements so JSR can generate documentation based on it.
- User documentation in the docs folder. This is targeted for users in a more guided way.

Make sure to update the documentation when functionality is changed or added.

# Format, Lint, Type Check & Test

Whenever something is changed in the examples or packages, run the following commands to format, lint, type check and test the code. Running these commands from the repository root will check all examples and packages.
Whenever something is changed in the examples or packages, run the following commands to type check, format, lint and test the code. Running these commands from the repository root will check all examples and packages.

```
deno check
deno fmt --check
deno lint
deno check
deno test
deno test --allow-all
```
37 changes: 37 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# EventSourcingDB

To use the EventSourcingDB for testing and development purposes, you can use the following commands and find all the details in the [EventSourcingDB documentation](https://docs.eventsourcingdb.io/).

**Install EventSourcingDB**

```bash
docker pull thenativeweb/eventsourcingdb
```

**Start EventSourcingDB with temporary data**

```bash
docker run -it -p 3000:3000 \
thenativeweb/eventsourcingdb run \
--api-token=secret \
--data-directory-temporary \
--http-enabled \
--https-enabled=false \
--with-ui
```

**Start EventSourcingDB with persistent data**

The data will be stored in the `esdb-data` directory which is ignored by Git.

```bash
docker run -it \
-p 3000:3000 \
-v ./esdb-data:/var/lib/esdb \
thenativeweb/eventsourcingdb run \
--api-token=secret \
--data-directory=/var/lib/esdb \
--http-enabled \
--https-enabled=false \
--with-ui
```
4 changes: 3 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"./packages/mongodb",
"./packages/hono",
"./packages/utils",
"./examples/hono-demo"
"./packages/eventsourcingdb",
"./examples/hono-demo",
"./examples/eventsourcing-demo"
],
"nodeModulesDir": "none",
"fmt": {
Expand Down
Loading