A template REST API project with
- SpringBoot (Kotlin)
- JPA (H2 DB in memory)
- API REST with OpenAPI 3.0 documentation
- Apache FreeMarker Template
Are you looking for a pure Java implementation? Try https://github.com/guildenstern70/smartrestjava
gradle clean assemble
docker build --platform linux/amd64 --build-arg JAR_FILE=build/libs/SmartRest.jar -t smartrest:1.0 .
docker tag smartrest:1.0 docker.io/[your_user]/smartrest:1.0
docker run --publish 8080:8080 --name SmartRest smartrest:1.0
The provided Helm deploys on Kubernetes using one pod exposed by a service through NodePort
helm install --generate-name ./helm
To browse application get your k8s provider public IP, example with IBM Cloud
ibmcloud ks worker ls --cluster <cluster_name>
and point browser to
http(s)://<public_ip>:<node_port>