This is an example that shows how Scala Server Toolkit can be used to properly initialize a server application.
Some of the "business logic" parts are simplified so please do not take them as the best example of how server application should be structured.
You need to run Docker Compose to start up the environment for the application (database, ...):
docker-compose -f example/docker-compose.yml upThen you can just run the Main class.