🌤️Clear domain and infrastructure separation. Hexagonal Architecture and Functional domain with Arrow. Typesafe SQL with jOOQ and flyway for db migrations. Meaning all you may need.
http://www.braintelligence.pl/online-store-architektura-podzial-na-domene-infrastrukture/