Search⌘ K
AI Features

Creating REST endpoints

Explore how to build REST endpoints in Quarkus by creating a to-do list application. Learn to define data models, implement GET, POST, and DELETE operations, and handle JSON data using Quarkus extensions. This lesson equips you with core API creation skills in Quarkus.

Default endpoint

When we create a new Quarkus application, it will automatically generate a resource called GreetingResource. This resource exposes an endpoint at /hello that returns a greeting message.

Let’s start by generating a new Quarkus application with the developer tool command:

Terminal 1
Terminal
Loading...
...