Skip to content

Hello world

Let’s make sure everything’s working.

In this mini-tutorial we’re going to create the simplest possible Fluxzero app — just a single HTTP endpoint.


If you haven’t created a project yet, follow the installation guide first.

Have your coding agent open the project. IntelliJ IDEA provides a good Java and Kotlin experience whenever you want to inspect or edit the code directly.


Ask your agent to create a file named HelloEndpoint.java (or .kt) in the root package:

@Component
public class HelloEndpoint {
@HandleGet("/hello")
public String hello() {
return "Hello from Fluxzero!";
}
}

Start the app:

Terminal window
./gradlew run

Then open your browser:

http://localhost:8080/hello

You should see:

Hello from Fluxzero!

You’ve just added your first Fluxzero handler!

Now that your app is up and running, let’s build something real.


© 2026 Fluxzero