-
Run
sbt
from root directory to enter the interactive mode. -
Start the server by using
re-start
orrun
. -
Run jacoco by
jacoco:cover
for Java code, but with quirks. -
URLs:
- http://localhost:8080/hello: Simple hello response
- http://localhost:8080/hello/{some_name}: Hello response greeting name and return Json response
- http://localhost:8080/hello/{some_name}/{delay}: Sends chunked response in intervals with delay in milliseconds
-
Console URL: http://localhost:8080/adm
-
sbt docker
to create a docker image. -
docker run -p 8080:8080 <IMAGE NAME>
to run as a docker container.