I managed to get the tutorial code working, and I wanted to make my example more complex by adding a service that would have a database and logger injected into it.
My goal is to achieve a layered architecture like this: controller->(service, logger)->db->(configService, Logger).
However, I'm struggling with the layers to make it work. If someone has some experience with Effect's dependency injection system and would like to do a good deed, that would be really cool.