This is an example of a monolithic application built ready for microservice architecture. Each service is built as a separate package and can be easily extracted into a separate repository.
The application is structured in a way that allows for easy transition to microservices. The application is split into the following parts:
In case you decide to split the application into microservices, you can easily do it: