- Marten - Event Store, Document DB
- Wolverine - Mediator, EventBus, Outbox
- RabbmitMQ, Postgres, and Pgadmin with Docker
- LMS.Borrowing.API as dotnet project (tye)
-
Add following two entries to /etc/hosts
127.0.0.1 cin.lms.com 127.0.0.1 mason.lms.com
-
Restore Tool and Package(s)
dotnet tools restore dotnet restore
-
To run RabbitMQ
docker run --rm -it --hostname my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management
-
To run service and postgres
dotnet tye run -- watch
-
To generate Marten code.
- Comment
borrowing-context
service in tye.yaml - Run
dotnet tye run -- watch
just for db - And then
cd src\LMS.Borrowing.API dotnet run -- codegen write
- Transfer generated files to LMS.Marten.Generated
- Comment
-
Import
api-testing.postman_collection.json
to postman for quick testing.