Intro
Structure
Each module is supposed to be divided into such submodules:
api
api-impl
api-spec
dto
integration
postgres
postgres-dao
postgres-schema
service
Learn more about the API layer
here
Learn more about the Integration or dao layer
here
Service is a submodule which contains the main business logic, also uses repositories with models from the dao layer and uses dtos from the API layer