You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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





Example

Here is an example multimodules with the structure described above:


Where spec-module has been reviewed in detail here

  • No labels