In this section, we will implement the same football player microservice that we built in Chapter 4, Building Microservices Using Thorntail. We will analyze the details of the server-side layer of the application, (since the client layer remains the same, implemented using Angular 6).
The result will be a simple football player microservice that handles the football player domain; it will expose CRUD APIs, and it will store and retrieve information using a PostgreSQL database.
You can complete the entire application that was built in Chapter 4, Building Microservices Using Thorntail, using the approach that we will implement in this chapter.
To build our application, we will use the following tools, and for each one, we will specify the information needed to install it:
- Apache Maven 3.5.4: (https://maven.apache.org/install.html).
- JDK 1.8.0_171 (http://openjdk.java.net/install/): you are free to use Oracle JDK or OpenJDK, but we recommend OpenJDK.
- Spring Boot 2.0.5: We will describe the instructions to install this later on.
- Docker Community Edition 18.06.1(https://docs.docker.com/install/): this is used to easily install and use the different databases needed for our application.