Basic Boilerplate for Starting up your APIs in Scala.
Also, using Gradle, not sbt (Phew
/ping
/sample
/sample/get
/sample/post
/sample/combo
/sample/exception
- Run
sh build.sh
or use the docker build commanddocker build . -t akka_starter
to build.
- Ensure you have Scala plugin installed with Intellij.
- Application depends on the env variable
ENVIRONMENT
. - By default the server runs on port 80 for production and 8080 for others.