Skip to content
Sample REST Service written in Kotlin with Ktor Framework
Kotlin Groovy
Branch: master
Clone or download


ktor Example Application

Shows usage of Kotlin library ktor: Simple REST Server exposing JSON API for Person entities.

Build and Run

The app is backed by gradle. Build with gradle build, Run with gradle run.

Optionally configure the port (default 8080) by passing --server.port=xxxx as an application argument to java -jar command:

java -jar ktorapp-version.jar --server.port=1234

You can’t perform that action at this time.