Includes:
JacksonJsonSupport
support to map Scala data types to standard JSONDockerfile
integration and a build script- Jetty integration for easy local dev
./scripts/build-docker-image.sh
docker run -p "8080:8080" --name "scalatra-api" -d scalatra-api:latest
Access via http://<your_docker_host>:8080
The build script accepts an image
and tag
as optional arguments.
./scripts/build-docker-image.sh my_image_name my_tag
Right click on src/main/scala/com/lombardo/app/JettyLauncher.scala
and hit RUN
Access via http://localhost:8080
$ sbt
> jetty:start
Access via http://localhost:8080