Writing a REST Service with Spring Boot: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
=Overview= | =Overview= | ||
This article describes assembling a simple REST service with Spring Boot, from scratch. The code can be compiled, executed locally, packaged as an OCI container and deployed in Kubernetes with Helm. | This article describes assembling a simple REST service with Spring Boot, from scratch. The code can be compiled, executed locally, packaged as an OCI container and then deployed in Kubernetes with Helm. | ||
The code is available under: | The code is available under: {{External|https://github.com/ovidiuf/playground/tree/master/spring/smoke}} | ||
{{External|https://github.com/ovidiuf/playground/tree/master/spring/smoke}} | |||
More ideas: "asset-uploader" under playground/misc/b23Ts. | More ideas: "asset-uploader" under playground/misc/b23Ts. |
Revision as of 23:23, 6 February 2022
External
- https://spring.io/guides/gs/rest-service/
- https://spring.io/guides/tutorials/rest/
- https://www.baeldung.com/spring-boot-testing
Internal
Overview
This article describes assembling a simple REST service with Spring Boot, from scratch. The code can be compiled, executed locally, packaged as an OCI container and then deployed in Kubernetes with Helm.
The code is available under:
More ideas: "asset-uploader" under playground/misc/b23Ts.
Prerequisites
The following tools will need to be installed on the development system:
- Java 11 or newer
- gradle
- IntelliJ IDEA