https://github.com/event-driven-io/emmett-starter-esdb
Emmett WebAPI starter repository with EventStoreDB
https://github.com/event-driven-io/emmett-starter-esdb
emmett eventsourcing eventstoredb
Last synced: 12 months ago
JSON representation
Emmett WebAPI starter repository with EventStoreDB
- Host: GitHub
- URL: https://github.com/event-driven-io/emmett-starter-esdb
- Owner: event-driven-io
- License: mit
- Created: 2024-06-11T08:05:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T11:47:43.000Z (over 1 year ago)
- Last Synced: 2025-06-23T00:42:31.597Z (12 months ago)
- Topics: emmett, eventsourcing, eventstoredb
- Language: TypeScript
- Homepage:
- Size: 271 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://discord.gg/fTpqUTMmVa) [
](https://www.linkedin.com/in/oskardudycz/) [](https://github.com/sponsors/oskardudycz/) [](https://event-driven.io/?utm_source=event_sourcing_nodejs) [](https://www.architecture-weekly.com/?utm_source=event_sourcing_nodejs)

# Emmett - template showing event-sourced WebApi with Express.js and EventStoreDB
Read more in [Emmett getting started guide](https://event-driven-io.github.io/emmett/getting-started.html).
## Prerequisities
You need to install packages with
```bash
npm install
```
## Running
Sample require EventStoreDB, you can start it by running
```bash
docker-compose up
```
Then just run
```bash
npm run start
```
## Running inside Docker
To build application:
```bash
docker-compose --profile app build
```
To run application:
```bash
docker-compose --profile app up
```
### Testing
You can either run tests with
```
npm run test
```
Or manually with prepared [.http](.http) file