Initial Release
Quarkus Framework codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with Quarkus including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Quarkus community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
Original project: https://github.com/diegocamara/realworld-api-quarkus
Start IRIS with docker-compose, before run application
docker-compose up -d
This application basically uses Quarkus Framework with Java 11 with some other modules known to development community:
application/ -> business orchestration layer
+-- web/ -> web layer models and resources
domain/ -> core business implementation layer
+-- model/ -> core business entity models
+-- feature/ -> all features logic implementation
+-- validator/ -> model validation implementation
+-- exception/ -> all business exceptions
infrastructure/ -> technical details layer
+-- configuration/ -> dependency injection configuration
+-- repository/ -> adapters for domain repositories
+-- provider/ -> adapters for domain providers
+-- web/ -> web layer infrastructure models and security
shell
./mvnw compile quarkus:dev
The server should be running at http://localhost:8080
shell
./mvnw test
shell
./collections/run-api-tests.sh
shell
./mvnw package
GraalVM is necessary for building native executable, more information about setting up GraalVM can be found in Quarkus guides and database engine need to be changed.
shell
./mvnw package -Pnative
```properties
quarkus.datasource.db-kind=other quarkus.datasource.jdbc.url=jdbc:IRIS://localhost:1972/REALWORLD quarkus.datasource.jdbc.driver=com.intersystems.jdbc.IRISDriver quarkus.datasource.username=_SYSTEM quarkus.datasource.password=SYS quarkus.hibernate-orm.dialect=io.github.yurimarx.hibernateirisdialect.InterSystemsIRISDialect ```
Improvements are welcome, feel free to contribute.
Initial Release