Redouble AI Nucleo documentation
Part 12 · The demo, end to end

The demo on Quarkus

ai.redouble.demo.quarkus · nucleo-demo-quarkus

This is the demo served by a Quarkus application instead of a Spring Boot one. It serves the same engine, nucleo-demo-engine: the same page, the same nine steps, the same endpoints, answered by the same code, so everything the demo page describes holds here unchanged. It runs on the JVM, and it also compiles to a native image, a standalone executable built ahead of time by GraalVM, which the Spring host does not.

It is the example to copy for running Nucleo inside a Quarkus application of your own.

What the host adds

The Quarkus host contains no demo logic, only the wiring that hands the engine to Quarkus:

A refusal from any endpoint reaches the page as {"message": ...} carrying the rule that was broken, the same shape the Spring host sends.

How it works inside

How to run the host from a checkout, in dev mode, as a JVM jar or as a native image, and the beans and configuration sources it wires are in Inside the Quarkus host, for those working on the demo itself.

^