Example of service:
template structure of microservice build on docker.
-
In build.sbt you need to change config for docker base image and docker repository to publish to.
-
/src/main/scala/io.mikroservice/api contain declarations of service endpoints
-
/src/main/scala/io.mikroservice/domain contain core logic of service
-
/src/main/scala/io.mikroservice/infrastructure contain core logic of dependent services