Helidon is a Java framework for writing microservices. IntelliJ IDEA provides the following:
Coding assistance specific to both Helidon SE and Helidon MP
A dedicated project creation wizard based on start.microprofile.io
Create a new Helidon project
From the main menu, select.
In the New Project wizard, select MicroProfile and choose the Default starter service https://start.microprofile.io.
Configure the following MicroProfile project settings:
Select the necessary specifications for your application and click Next.
If necessary, change the project name, location, and other settings. Click Finish.
The generated project contains a REST endpoint named
HelloController with the following code:
You can open the Endpoints tool window ( ) and see this endpoint:
Run the Helidon application
io.helidon.microprofile.server.Mainclass from the Helidon library.
In the gutter, click and run the
In the Edit Configuration dialog, set Use classpath of module to your application's module:
In the Run tool window, you will see that the server is running on
http://localhost:8080. Open this URL in a web browser to see the landing page of the MicroProfile server.
The default root is located at
/data, as defined by
@ApplicationPath("/data") in the HellohelidonRestApplication class. Open
http://localhost:8080/data/hello to see the output produced by the