Project structure

The project structure follows the maven suggested pattern. We will code the project in the Kotlin language, then we will create a kotlin folder to store our code.

We made that configuration on the pom.xml created before, so it will work fine. Let's take a look at the correct folder structure for the project:

As we can see, the base package is the springfive.twittergathering package. Then, we will start to create sub-packages in this package as soon.

Let's create our infrastructure for the microservice.

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.