This example has a single endpoint, served at the root, that returns some text. It only uses the http4k-core
module, which is small and has zero dependencies apart from the Kotlin StdLib.
./gradlew test distZip
unzip build/distributions/Example.zip
Example/bin/Example
then:
curl -v http://localhost:8080/
./build_and_run.sh
then:
curl -v http://localhost:8080/