In this chapter we’ll move away from mock data and implement our data access and persistence layers to store and retrieve data in a PostgreSQL database.
When Done, You Will
Have configured a PostgreSQL instance (including setting up a new instance in Docker if required)
Have created a Database Context (DB Context) class using Entity Framework Core
Have used “migrations” to create the necessary schema in our database
Have created a new implementation of our repository interface to use our DB Context
Have used Dependency Injection to swap out our mock repository ...