Overview of PostgreSQL

Let’s briefly learn about how to use PostgreSQL as a repository.

The basic in-memory repository we implemented for our project is enough to display the concept of the repository layer abstraction. It’s not enough to run a production system, so we need to implement a connection with a real storage system like a database. Whenever we use an external system and want to test the interface, we can use mock data. However, we eventually need to ensure that the two systems actually work together. This is when we need to create integration tests.

Get hands-on with 1400+ tech skills courses.