- cd {checkout_dir}/src/Payments.API
- dotnet run
- navigate to http://localhost:{port}/swagger
- hit it!
- cd {checkout_dir}/
- dotnet test
A local SqLite DB is created in the first run and a seed function is executed to populate initial data.
The integration tests run an in-memory database.
Can use VS Code or Visual Studio 2017
- Authentication
- DTOs to avoid coupling the API contract with the DB schema
- A service layer with buisiness logic between the controller and repository
- Monitoring
- xUnit
- moq
- swagger
- Microsoft.EntityFrameworkCore.Sqlite
- Microsoft.AspNetCore.TestHost