Ktor - Server Framework


Just wanted to note ktor, a really nice kotlin framework to easily create server applications. For example, defining a REST API, looks as simple as this:

install(Routing) {
    get("/foo") {
        call.respondText("bar")
    }
    route("api") {
        intercept(ApplicationCallPipeline.Infrastructure) {
            AuthCheckInterceptor.intercept(this)
        }
        route("cars") {
            get {
                ListCarsHandler().doIt(this)
            }
        }
    }
}

Check their website or the github page