Writing a REST Service with Spring Boot: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 24: Line 24:
=Initialize the Project with Spring Initializr=
=Initialize the Project with Spring Initializr=


The project will be initialized with Spring Initializer, from IntelliJ IDEA.
The project will be initialized with Spring Initializer, from IntelliJ IDEA. Follow the procedure described here:
 
{{Internal|IntelliJ_IDEA_Plugin_for_Spring_Boot#Create_a_New_Spring_Boot_Project_with_Spring_Initializr|Create a New Spring Boot Project with Spring Initializr}}

Revision as of 23:27, 6 February 2022

External

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:

https://github.com/ovidiuf/playground/tree/master/spring/smoke

More ideas: "asset-uploader" under playground/misc/b23Ts.

Prerequisites

The following tools will need to be installed on the development system:

Initialize the Project with Spring Initializr

The project will be initialized with Spring Initializer, from IntelliJ IDEA. Follow the procedure described here:

Create a New Spring Boot Project with Spring Initializr