Hello world
Your first Fluxzero handler
Section titled “Your first Fluxzero handler”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.
1. Create a project
Section titled “1. Create a project”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.
2. Add an endpoint
Section titled “2. Add an endpoint”Ask your agent to create a file named HelloEndpoint.java (or .kt) in the root package:
@Componentpublic class HelloEndpoint {
@HandleGet("/hello") public String hello() { return "Hello from Fluxzero!"; }}@Componentclass HelloEndpoint {
@HandleGet("/hello") fun hello(): String { return "Hello from Fluxzero!" }}3. Run your app
Section titled “3. Run your app”Start the app:
./gradlew runThen open your browser:
http://localhost:8080/helloYou should see:
Hello from Fluxzero!4. What’s next?
Section titled “4. What’s next?”You’ve just added your first Fluxzero handler!
Now that your app is up and running, let’s build something real.
© 2026 Fluxzero