Starter project for Kotlin.
This project contains:
- A simple hello world application with an optional
nameparameter - Integration tests using Spek
import org.jooby.*
/**
* Kotlin stater project.
*/
class App: Kooby({
get {
val name = param("name").value("Jooby")
"Hello $name!"
}
})
/**
* Run application:
*/
fun main(args: Array<String>) {
run(::App, *args)
}
mvn jooby:run
mvn clean package
- Read the module documentation
- Join the channel
- Join the group