Skip to content
Alexandre Simões edited this page Feb 20, 2020 · 2 revisions

Welcome to Wiki

Here is a brief summary of how the example was implemented. This sample application is a simulation of buying stocks and selling stocks. A transaction record is generated for each stock bought or sold, the average purchase price and the total amount are recalculated.

Domain Layer:

The Domain Layer follows the Domain Driven Design standard and we use an event sourcing implementation to generate events.

Infrastructure Layer:

  • The application uses a repository infrastructure with SQL relational database and a non-relational MongoDB database.
  • Publication infrastructure for events generated by the domain.
  • Infrastructure to record transactions in the non-relational database.

Application Layer:

The Application layer is organized in Use cases, ports and adapters so that we can use the code language as close as possible to the User.

API Layer

The api is using .netcore with mediator and presenters;

Clone this wiki locally