-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Full Stack Quarkus and React
By :
Quarkus provides several options for bootstrapping an application. The easiest method involves using the https://code.quarkus.io page. You can also generate a new application by using the provided command-line interface (CLI) tool or even by running a Maven goal. We’ll be using the web interface since it’s the simplest approach and has a very straightforward wizard to customize the options and extension dependencies. However, you are free to explore other alternatives.
Maven goal
Maven is a build automation and project management tool mainly used in Java. A goal is a specific task that you can perform through Maven. Tasks such as compiling, packaging, and testing in Maven projects are performed via goal executions.
We are going to generate a Java 17 project with Maven and the latest available Quarkus version. Quarkus provides a web-based tool that allows you to create and customize an initial project. Let us take advantage of that by going through the following steps:
You’ll be greeted with the following wizard:
Figure 1.1 – A screenshot of the code.quarkus.io web interface
The generated project will include a package named with this value containing some sample starter code. I’m going to use com.example.fullstack, but you can use any other value.
reactive.
Figure 1.2 – A screenshot of the dependency selection section in the code.quarkus.io web interface
In the following chapters, we’ll be including more dependencies as we add functionality to the project.
Now that you have generated your Quarkus application, let us learn about the structure of the project and what features each of the project’s initial dependencies and plugins provides.