Skip to content

cai0m3ga/Hafen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hafen

This application was created with the solo purpose of fulfilling the proposed code challenge.

Architecture

REST API following Clean Architecture & DDD using .NET 6

Remarkable Libs

  • ErrorOr: Used to better control the application flow and avoid the usage of exceptions for most cases;

  • FluentValidaton: This lib contain most of the needed validations and played a major role with Mediatr using pipeline behaviors to validate Commands and Queries;

  • Mediatr: Responsible for handling all Commands and Queries including validations.

Executing program

This application requires .NET 6 SDK in order to run

To run the project from the root:

 dotnet run --project .\src\Hafen.Api\

To run tests:

 dotnet test

This application contains Swagger and with the project running can be found under:

 https://localhost:7173/swagger/index.html

Remembering that your application may start in another port.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages