First, go to project root and restore all project dependencies:
$ dotnet restore
Then, run the Rest API:
$ dotnet run --project src/Iti.Challenge.RestApi
The rest API documentation is provided by Swagger. You must start the API (above step) and then go to http://localhost:5000/swagger
To check the application and endpoints status, go to:
https://localhost:5001/healthchecks-ui
To run all the tests (unit and integration) you must point to project root then:
$ dotnet test
To run unit tests only:
$ dotnet test ./tests/Iti.Challenge.Tests.Unit
To run integration tests only:
$ dotnet test ./tests/Iti.Challenge.Tests.Integration