Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 481 Bytes

File metadata and controls

45 lines (29 loc) · 481 Bytes

hello world!

Java:

import org.jooby.Jooby;

public class App extends Jooby {

  {
    get("/", () -> "Hey Jooby!");
  }

  public static void main(final String[] args) {
    run(App::new, args);
  }
}

Kotlin:

import org.jooby.*

fun main(args: Array<String>) {
  run(*args) {
    get {
      "Hello Kotlin"
    }
  }
}

JavaScript:

var app = jooby();

app.get('/', function () 'Hey Jooby!');