Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.25 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.25 KB

MediatR and Record Types

An example of how you can combine MediatR and Record types to build an api in the CQRS pattern with relatively minimal code.

Give a Star! ⭐

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

How to run locally

  1. Download and install the .NET Core SDK
  2. Open a terminal such as PowerShell, Command Prompt, or bash and navigate to the src/MediatRAndRecordTypes.Api folder
  3. Run the following dotnet commands:
dotnet build
dotnet run
  1. Open your browser to: https://localhost:5001.

To Run the Integration tests

  1. Download and install the .NET Core SDK
  2. Open a terminal such as PowerShell, Command Prompt, or bash and run the following command: dotnet test