You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,23 @@ public class App extends Jooby {
42
42
43
43
```
44
44
45
-
[JavaScript](/jooby-js):
45
+
[Kotlin](/jooby-lang-kotlin):
46
+
47
+
```kotlin
48
+
49
+
import org.jooby.*
50
+
51
+
fun main(args:Array<String>) {
52
+
run(*args) {
53
+
get {
54
+
"Hello Kotlin"
55
+
}
56
+
}
57
+
}
58
+
59
+
```
60
+
61
+
[JavaScript](/jooby-lang-js):
46
62
47
63
```js
48
64
@@ -54,7 +70,7 @@ app.get('/', function () 'Hey Jooby!');
54
70
55
71
## killer features
56
72
57
-
***Multi-language**.Write your application in Javaor [JavaScript](https://github.com/jooby-project/jooby/tree/master/jooby-js)
73
+
***Multi-language**.Write your application in Java, [Kotlin](https://github.com/jooby-project/jooby/tree/master/jooby-lang-kotlin) or [JavaScript](https://github.com/jooby-project/jooby/tree/master/jooby-lang-js)
58
74
***Scripting programming model**.Like [express.js](http://expressjs.com), [Sinatra](http://www.sinatrarb.com), etc.. but also
59
75
***MVC programming model**.Like [Spring](http://spring.io) controllers or [Jersey](https://jersey.java.net) resources
60
76
***Multi-server**.Including [Netty](http://netty.io), [Jetty](http://www.eclipse.org/jetty/) and [Undertow](http://undertow.io)
@@ -77,7 +93,7 @@ quickstart
77
93
Just paste this into a terminal (make sure [Java8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) and [Maven 3.x](http://maven.apache.org/download.cgi) are installed):
0 commit comments