Creating a new Quarkus app
Development environment
Prerequisites
- JDK >= 17
- Apache Maven
- IDE
An IDE like IntelliJ IDEA or Visual Studio Code with Java extensions.
- GraalVM (optional but recommended)
For native compilation: GraalVM
- Quarkus CLI (optional)
Using SDKMAN:
Create a New Quarkus Project
- Using the CLI:
- Using Maven:
Explore the file structure
- pom.xml
Directorysrc
- main
- resources
- test
Run the application in development mode
Add features to the Quarkus application
- Add a new service class:
- Update the resource class to use the service: