Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hantsy/micronaut-sandbox
Micronaut playground
https://github.com/hantsy/micronaut-sandbox
gradle groovy jdbc jpa kotest kotlin kotlin-coroutines micronaut micronaut-data mongo mongodb r2dbc reactive-streams spock
Last synced: about 2 months ago
JSON representation
Micronaut playground
- Host: GitHub
- URL: https://github.com/hantsy/micronaut-sandbox
- Owner: hantsy
- License: gpl-3.0
- Created: 2021-10-14T09:51:38.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T01:14:03.000Z (7 months ago)
- Last Synced: 2024-05-17T02:27:13.930Z (7 months ago)
- Topics: gradle, groovy, jdbc, jpa, kotest, kotlin, kotlin-coroutines, micronaut, micronaut-data, mongo, mongodb, r2dbc, reactive-streams, spock
- Language: Java
- Homepage: https://hantsy.github.io/micronaut-sandbox/
- Size: 1.79 MB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Micronaut Sandbox
Personal playground of experiencing new features of [Micronaut framework](https://micronaut.io).
## Examples
The following table lists all examples in this repository.
| Name | Language | Description |
|------------|----------|------------------------------------------------------|
| [data-jpa-post-service](https://github.com/hantsy/micronaut-sandbox/tree/master/data-jpa-post-service) | Java | Data JPA, Test Resources, JUnit |
| [data-jdbc](https://github.com/hantsy/micronaut-sandbox/tree/master/data-jdbc) | Java | Data Jdbc, Test Resources, JUnit |
| [data-jdbc-testcontainers](https://github.com/hantsy/micronaut-sandbox/tree/master/data-jdbc-testcontainers) | Java | Data Jdbc, Testcontainers, JUnit |
| [data-jdbc-kotlin](https://github.com/hantsy/micronaut-sandbox/tree/master/data-jdbc) | Kotlin | Data Jdbc, Test Resources, Kotest |
| [data-r2dbc](https://github.com/hantsy/micronaut-sandbox/tree/master/data-r2dbc) | Java | Data R2dbc, Test Resources, JUnit |
| [data-r2dbc-kotlin-co](https://github.com/hantsy/micronaut-sandbox/tree/master/data-r2dbc-kotlin-co) | Kotlin | Data R2dbc, Test Resources, Kotest |
| [data-hibernate-reactive](https://github.com/hantsy/micronaut-sandbox/tree/master/data-hibernate-reactive) | Java | Data Hibernate Reactive, Test Resources, JUnit |
| [data-mongodb-groovy](https://github.com/hantsy/micronaut-sandbox/tree/master/data-mongodb-groovy) | Groovy | Data MongoDB, Testcontainers, Spock |
| [mongodb-album-service](https://github.com/hantsy/micronaut-sandbox/tree/master/mongodb-album-service) | Java | MongoDB Async, TestContainers, Spock |
| [rxjava3-vertx-pg-client](https://github.com/hantsy/micronaut-sandbox/tree/master/rxjava3-vertx-pg-client) | Java | RxJava3, Vertx Pg Client, TestContainers, JUnit |
| [hibernate-gorm](https://github.com/hantsy/micronaut-sandbox/tree/master/hibernate-gorm) | Groovy | (_Deprecated_) Hibernate GORM, Testcontainers, Spock |## Docs
- Go to [hantsy.github.io/micronaut-sandbox/](https://hantsy.github.io/micronaut-sandbox/).
## Build
### Prerequisites
Make sure you have installed the following software.
- JDK 21
- Gradle 8+
- Docker### Build & Run
Start up databases.
```bash
docker compose up postgres
```Enter the project folder.
Run the following command to build the application and run all tests.
```bash
./gradlew build
```To run the application by Gradle command, use the following command instead.
```bash
./gradlew run
```## Contribution
Any suggestions are welcome, filing an issue or submitting a PR is also highly recommended.
## References
- [Micronaut Guides](https://docs.micronaut.io/latest/guide/index.html/)