Skip to content

hantsy/micronaut-sandbox

Folders and files

NameName
Last commit message
Last commit date
Aug 9, 2024
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 6, 2022
Mar 24, 2025
Mar 24, 2025
Mar 20, 2022
Mar 24, 2025
Jul 29, 2023
Oct 14, 2021
May 2, 2024
Oct 22, 2021
Feb 10, 2022
Nov 27, 2024

Repository files navigation

Micronaut Sandbox

Personal playground of experiencing new features of Micronaut framework.

Examples

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

Docs

Build

Prerequisites

Make sure you have installed the following software.

  • JDK 21
  • Gradle 8+
  • Docker

Build & Run

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

Contribution

Any suggestions are welcome, filing an issue or submitting a PR is also highly recommended.

References