Skip to content

ngitau/kotlin-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%