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
+11-44Lines changed: 11 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,34 +6,32 @@
6
6
7
7
# ∞ do more, more easily
8
8
9
-
[Jooby](https://jooby.io) a modular micro web framework for Java and Kotlin:
9
+
[Jooby](https://jooby.io) is a modern, performant and easy to use web framework for Java and Kotlin built on top of your
10
+
favorite web server.
10
11
11
12
Java:
12
13
13
14
```java
14
-
importorg.jooby.Jooby;
15
+
import staticorg.jooby.Jooby.runApp;
15
16
16
-
publicclassAppextendsJooby {
17
-
18
-
{
19
-
get("/", ctx ->"Hey Jooby!");
20
-
}
17
+
publicclassApp {
21
18
22
19
publicstaticvoidmain(finalString[] args) {
23
-
run(App::new, args);
20
+
runApp(args, app -> {
21
+
app.get("/", ctx ->"Hey Jooby!");
22
+
});
24
23
}
25
24
}
26
25
27
26
```
28
27
29
-
[Kotlin](http://jooby.org/doc/lang-kotlin):
28
+
Kotlin:
30
29
31
30
```kotlin
32
-
33
-
import org.jooby.run
31
+
importorg.jooby.runApp
34
32
35
33
funmain(args:Array<String>) {
36
-
run(args) {
34
+
runApp(args) {
37
35
get ("/") { ctx ->
38
36
"Welcome to Jooby!"
39
37
}
@@ -42,38 +40,7 @@ fun main(args: Array<String>) {
42
40
43
41
```
44
42
45
-
## features
46
-
47
-
***Simple, effective and easy to learn**
48
-
49
-
***Script routes**: annotation and reflection free programming model using lambdas. Similar to [express.js](http://expressjs.com), [Sinatra](http://www.sinatrarb.com), etc..
50
-
51
-
***MVC routes**: annotation and reflection programming model using controller classes. Similar to [Spring](http://spring.io), [Jersey](https://jersey.java.net), etc..
52
-
53
-
***Multi-server**: [Jetty](http://www.eclipse.org/jetty/), [Netty](http://netty.io) and [Undertow](http://undertow.io)
54
-
55
-
## found this project useful :heart:
56
-
57
-
*Support by clicking the :star: button on the upper right of this page. :v:
58
-
59
-
* [Donate](https://patreon.com/edgarespina) to support Jooby development!
60
-
61
-
62
-
want to contribute?
63
-
=====
64
-
65
-
*Fork the project on Github, and clone that to your workstation
66
-
*Read about [building Jooby](BUILDING.md)
67
-
*Wondering what to work on?See task/bug list and pick up something you would like to work on.
68
-
*Write unit tests.
69
-
*Create an issue or fix one from [issues](https://github.com/jooby-project/jooby/issues).
70
-
*If you know the answer to a question posted to our [group](https://groups.google.com/forum/#!forum/jooby-project) - don't hesitate to write a reply.
71
-
*Share your ideas or ask questions on the [jooby group](https://github.com/jooby-project/jooby/issues) - don't hesitate to write a reply - that helps us improve javadocs/FAQ.
72
-
*If you miss a particular feature - browse or ask on the [group](https://groups.google.com/forum/#!forum/jooby-project) - don't hesitate to write a reply, show us some sample code and describe the problem.
73
-
*Write a blog post about how you use or extend [jooby](https://jooby.io).
74
-
*Please suggest changes to javadoc/exception messages when you find something unclear.
75
-
*If you have problems with documentation, find it non intuitive or hard to follow - let us know about it, we'll try to make it better according to your suggestions. Any constructive critique is greatly appreciated. Don't forget that this is an open source project developed and documented in spare time.
0 commit comments