<dependency>
<groupId>com.webmotion</groupId>
<artifactId>webmotion-core</artifactId>
<version>1.0.0</version>
</dependency>
import com.webmotion.server.WebMotionServer;
public class App {
public static void main(String[] args) {
WebMotionServer.configure();
WebMotionServer.get("/hello", (request, response) -> {
response.send("Hello, World!");
});
WebMotionServer.start(8080);
}
}