Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Starter project for Kotlin

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages