Instant web application

// On GET /hi or POST /hi return a "Hello World" web page"/hi").mvc("Hello <b>world</b>!");
  brand: 'Cool app!'
  title: 'the head title'
  search: true
    Home: /
    Portfolio: /portfolio
      About Us: /about
      About You: /

Let's send some HTTP requests and check the results:

GET /hi
Hello world!

HTTP server routes information:

Verb Path Zone Content type MVC View name Roles
GET POST /hi main html hi

Project setup with Maven

To run the example, you need to create a new Java 8 project and configure it properly using Maven:
<project xmlns="" xmlns:xsi=""

Building the project with Maven is easy:
mvn package