Skip to content

Simple example of how to use Marten for event sourcing with projections.

License

Notifications You must be signed in to change notification settings

chrishoy/EventSourcing-Marten-WebApi

Repository files navigation

Event Sourcing using Marten and PostgreSQL

This is a simple example of how to use Marten for event sourcing with projections.

  • docker-compose.yml: This file contains the PostgreSQL configuration. Used by Marten to store document data.
  • src/EventSourcingMartenWebApi.csproj: This is the Web Api project.

How to run

  1. Clone the repository
  2. Modify docker-compose.yml to set the desired persistent volume location for PostgreSQL data
  3. Run docker-compose up -d to start PostgreSQL
  4. Run the project

References

About

Simple example of how to use Marten for event sourcing with projections.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages