https://github.com/intercaetera/eventcourier
A very basic example of a event-based no-db architecture in JS
https://github.com/intercaetera/eventcourier
Last synced: over 1 year ago
JSON representation
A very basic example of a event-based no-db architecture in JS
- Host: GitHub
- URL: https://github.com/intercaetera/eventcourier
- Owner: intercaetera
- License: gpl-3.0
- Created: 2022-07-22T16:48:14.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T16:48:25.000Z (almost 4 years ago)
- Last Synced: 2025-04-11T21:55:50.507Z (over 1 year ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eventcourier
A very simple example of a no-db, sorta CQRS, sorta event-sourced app example with minimal dependencies.
Uses filesystem for persistence because it's simple.
## API
HTTP Prompt syntax (`METHOD /endpoint body_key=body_value_type`)
- `GET /` - returns the entire stored state
- `POST /add from=string to=string` - adds a new package
- `POST /deliver id=string` - delivers an existing package