Initial commit

This commit is contained in:
2026-04-23 22:50:48 +02:00
commit bf8b46bff2
63 changed files with 5137 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package dev.ulfrx.recipe
import io.ktor.server.application.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
fun main() {
embeddedServer(Netty, port = SERVER_PORT, host = "0.0.0.0", module = Application::module)
.start(wait = true)
}
fun Application.module() {
routing {
get("/") {
call.respondText("Ktor: ${Greeting().greet()}")
}
}
}