Starter project for Kotlin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf Initial import + basic app Oct 24, 2016
src Add unit test Jan 3, 2018
.gitignore Initial import + basic app Oct 24, 2016
.travis.yml Update to 1.1.0 Mar 26, 2017
LICENSE Initial commit Oct 24, 2016
README.md v1.2.0 Oct 25, 2017
pom.xml 'v1.5.0' Jul 18, 2018

README.md

Build Status

kotlin

Starter project for Kotlin.

quick preview

This project contains:

  • A simple hello world application with an optional name parameter
  • Integration tests using Spek

App.kt:

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)
}

run

mvn jooby:run

tests

mvn clean package

help