- .NET 7
- Docker (optional)
dotnet run restore
dotnet run build
dotnet run --project Ibge
docker compose build
docker compose up
Get all locations
curl -X 'GET' \
'https://localhost:7186/v1/Locations' \
-H 'accept: application/json'
https://localhost:7186/swagger/index.html
This following links are the references i read for build this project:
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices
https://stackoverflow.com/questions/51489111/how-to-unit-test-with-actionresultt
https://learn.microsoft.com/en-us/previous-versions/aspnet/cc668224(v=vs.100)
https://www.youtube.com/watch?v=kgzc_gw2pi8
https://www.infoworld.com/article/3669188/how-to-implement-jwt-authentication-in-aspnet-core-6.html