3 ms·
I find that hello world example very pleasant to look at. Love that it's effectively a one-liner. public static void main(String[] args) { var app
by simonw 4y ago
I find that hello world example very pleasant to look at. Love that it's effectively a one-liner.
public static void main(String[] args) {
var app = Javalin.create(/*config*/)
.get("/", ctx -> ctx.result("Hello World"))
.start(7070);
}
- jannes 4y agoLooks very similar to Express.js which came out in 2011 and has been one of the most popular frameworks in the Node.js world. https://expressjs.com/en/starter/hello-world.html https://expressjs.com/en/starter/hello-world.html