Awesome
Minum example - small
This is a small project meant to demonstrate use of the Minum framework. Check out the code.
Here it is:
public class Main {
public static void main(String[] args) {
// Start the system
FullSystem fs = FullSystem.initialize();
// Register some endpoints
fs.getWebFramework().registerPath(
RequestLine.Method.GET,
"",
request -> Response.htmlOk("<p>Hi there world!</p>"));
fs.block();
}
}
Quick start:
To build and run:
./mvnw compile exec:java
then visit http://localhost:8080
See the Minum quick start for a comprehensive (but still speedy) step-by-step.