Install IDEasy:
-
Install git if not already installed (download and run installer or run
winget install Git.Gitin PowerShell or CMD) -
If you use Windows, please download Windows MSI for IDEasy installation.
-
Open git-bash and run the following command:
ide create java-quarkus https://github.com/devonfw-training/java-quarkus-settings.git -
Wait until the setup process has completed.
-
If you do not have already Docker Desktop or Rancher Desktop installed, you should do so by running in Git-Bash the command:
ide install docker
Now we build our application backend:
-
Go to folder
workspaces/main/java-quarkus/injava-quarkus. -
In Windows-Explorer right-click it and select
Git Bash Here. -
In the git-bash at this folder run the following command:
mvn clean install -DskipTests
Please choose your favorite IDE:
Next, we import the new backend project into our Eclipse IDE:
-
ide eclipse -
In Eclipse
ImportasExisting Maven Project, there clickBrowseand choose yourbackendfolder inworkspaces/main/java-quarkus. -
Now find the green bug icon in the Eclipse toolbar and click on the down-arrow right to it.
-
Click
Debug Configurationfrom the menu -
In the appearing
Debug Configurationpopup window selectQuarkus applicationfrom the list on the left. -
Click on the first icon from the bar above that list (with tooltip
New launch configuration) -
Change the
Nametoappand ensure theProjectis set toapp. -
Click on
Debugto start your app in debug mode. -
Open http://localhost:8080/ in your browser and you should see the quarkus welcome page of the app.
The frontend is written in react and can be build with yarn. Please go into frontend and run yarn install on a command line. Please do not use npm.
When the build was successful and the backend is running, too, you can start the frontend by running yarn start in the same directory.
The frontend is reachable under http://localhost:3000/. You can append the id of the list you want to load, default is 1: http://localhost:3000/1.


