- Download code (clone repository and pull changes)
- Open solution in VisualStudio and Run project
- OR: Open cmd and go to
Danske.BankingChallenge\Danske.BankingChallenge.Services
directory. Run:dotnet run
You can test API from Swagger UI, by opening in web browser url: https://localhost:5001/swagger/index.html when application is running. Alternatively you can use POSTman or other tool for sending requests, including any web browser. Simply open url: https://localhost:5001/api/Loan/Calculate?Amount=500000&Duration=120
500000 and 120 values represent loan parameters. Change them to test API.