Personal playground of experiencing new features of Micronaut framework.
The following table lists all examples in this repository.
Name | Language | Description |
---|---|---|
data-jpa-post-service | Java | Data JPA, Test Resources, JUnit |
data-jdbc | Java | Data Jdbc, Test Resources, JUnit |
data-jdbc-testcontainers | Java | Data Jdbc, Testcontainers, JUnit |
data-jdbc-kotlin | Kotlin | Data Jdbc, Test Resources, Kotest |
data-r2dbc | Java | Data R2dbc, Test Resources, JUnit |
data-r2dbc-kotlin-co | Kotlin | Data R2dbc, Test Resources, Kotest |
data-hibernate-reactive | Java | Data Hibernate Reactive, Test Resources, JUnit |
data-mongodb-groovy | Groovy | Data MongoDB, Testcontainers, Spock |
mongodb-album-service | Java | MongoDB Async, TestContainers, Spock |
rxjava3-vertx-pg-client | Java | RxJava3, Vertx Pg Client, TestContainers, JUnit |
hibernate-gorm | Groovy | (Deprecated) Hibernate GORM, Testcontainers, Spock |
Make sure you have installed the following software.
- JDK 21
- Gradle 8+
- Docker
Start up databases.
docker compose up postgres
Enter the project folder.
Run the following command to build the application and run all tests.
./gradlew build
To run the application by Gradle command, use the following command instead.
./gradlew run
Any suggestions are welcome, filing an issue or submitting a PR is also highly recommended.