quarkusio/quarkus-super-heroes
À propos
Application exemple Quarkus : Super Heroes
Systèmes et infrastructureProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalQuarkus Superheroes Sample
Full documentation: https://quarkus.io/quarkus-super-heroes
Introduction
This is a sample application demonstrating Quarkus features and best practices. The application allows superheroes to fight against supervillains. The application consists of several microservices, communicating either synchronously via REST or asynchronously using Kafka. All the data used by the applications are on the characterdata branch of this repository.
This is NOT the workshop with the step-by-step instructions. If you are looking for the Quarkus Super Heroes workshop, you can find it at https://quarkus.io/quarkus-workshops/super-heroes/.
This is NOT a single multi-module project. Each service in the system is its own sub-directory of this parent directory. As such, each individual service needs to be run on its own.
The base JVM version for all the applications is Java 25.
- Super Hero Battle UI - A React application served via Quarkus Quinoa
- Villain REST API - A classical HTTP microservice with Hibernate ORM with Panache (active record pattern)
- Hero REST API - A reactive HTTP microservice with Hibernate Reactive with Panache (repository pattern)
- Narration REST API - A blocking HTTP microservice integrating with OpenAI via LangChain4J
- Location gRPC API - A Kotlin gRPC microservice with Hibernate ORM with Panache
- Fight REST API - A reactive HTTP microservice orchestrating fights, using MongoDB, Kafka, and resilience patterns
- Event Statistics - An event-driven microservice consuming Kafka events and serving statistics via WebSockets
- Grafana LGTM Stack - All services export traces, metrics, and logs via OpenTelemetry (OTLP)

The main UI allows you to pick one random Hero and Villain by clicking on New Fighters. Then, click Fight! to start the battle. The table at the bottom shows the list of previous fights.

Running Locally
See the Running Locally guide for Docker Compose instructions, or run any individual service in dev mode:
cd rest-heroes && ./mvnw quarkus:dev
Deploying to Kubernetes
See the Deploying to Kubernetes guide for full instructions on deploying to OpenShift, Minikube, Kubernetes, and Knative using pre-built images, Helm charts, or Quarkus Kubernetes Extensions.
CI/CD Automation
See the CI/CD Automation guide for details on the GitHub Action workflows and application resource generation.
Explorer des projets similaires
Chargement…