We created a boilerplate java API maven project which can let you write a custom API and host it inside the klustr.io environment.
Java 20
Maven
Git clone the repo https://github.com/klustr-io/docs-starter-apiarrow-up-right
To make sure you can run ensure you have intellij or similar Java environment and have an installed maven.
$ mvn clean install$ cd example-server$ mvn spring-boot run$ open http://localhost:5001/swagger-ui/index.htmlarrow-up-right
$ mvn clean install
$ cd example-server
$ mvn spring-boot run
$ open http://localhost:5001/swagger-ui/index.htmlarrow-up-right
Last updated 1 year ago