In this section, we will build the microservice related to the management of football players. In order to do so, we will need to install PostgreSQL on the system, in addition to the prerequisites described in the preceding section. As I stated previously, we will use Docker to install and handle PostgreSQL. I'm using a macOS High Sierra for my working environment, and I will describe how to install and run PostgreSQL in a Docker container.
The football player microservice
Database installation and configuration
Having installed Docker on your machine, it's time to run the containerized version of PostgreSQL, as follows:
- Open a new Terminal window and launch the following command:
$ docker run --name postgres_thorntail...