This project quickly simulates a quarkus blog backend and a quarkus validation service. It processes the blog content and determines whether it is valid or not. The project uses Kafka as streaming plattform.
💨 Start the environment:
docker-compose up -d🤚🏻 Stop the environment:
docker-compose down🔗 Access to Swagger UI in production:
http://localhost:8080/q/swagger-ui/
The container images are available here: https://github.com/wanjabachmann?tab=packages
cd .\blog-backend\
.\mvnw compile quarkus:devcd .\text-validator\
.\mvnw compile quarkus:dev🔗 Access to Swagger UI in development:
http://localhost:8080/q/swagger-ui/#/
🔗 Access to Kafka Topics in development:
http://localhost:8080/q/dev-ui/io.quarkus.quarkus-kafka-client/topics
SwaggerUi:
{
"title": "Title of the Blog",
"content": "Is this blog valid? 0"
}httpie:
http -v POST :8080/blogs title="Title of the Blog" content="Is this blog valid? 0"SwaggerUi:
{
"content": "Is this blog valid? 0",
"id": 1,
"title": "Title of the Blog",
"valid": false,
"validationDate": "2024-03-01"
}SwaggerUi:
{
"title": "Title",
"content": "Is this blog valid?"
}httpie:
http -v POST :8080/blogs title="Title of the Blog" content="Is this blog valid?"SwaggerUi:
{
"content": "Is this blog valid?",
"id": 2,
"title": "Title",
"valid": true,
"validationDate": "2024-02-27"
}httpie:
http -v GET :8080/blogs