https://github.com/goodforgod/micronaut-http-template
📜 Micronaut Http Template.
https://github.com/goodforgod/micronaut-http-template
http-server java17 micronaut template
Last synced: 9 months ago
JSON representation
📜 Micronaut Http Template.
- Host: GitHub
- URL: https://github.com/goodforgod/micronaut-http-template
- Owner: GoodforGod
- License: apache-2.0
- Created: 2021-12-20T18:13:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-10T05:32:17.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T00:07:09.705Z (about 1 year ago)
- Topics: http-server, java17, micronaut, template
- Language: Java
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Micronaut HTTP Application Template
Template for Micronaut HTTP Application for Java 17+.
## Features
- Gradle, build, wrapper, properties configured.
- [Code Style](https://goodforgod.dev/posts/3/), formatting , .gitignore configured.
- application.yaml, logback.xml, environment variables for local ruin\test configured.
- Dockerfile for packaging application configured.
- [OpenAPI/Swagger-UI/Rapidoc](https://github.com/GoodforGod/micronaut-management-openapi) management configured
## Run
```
./gradlew run
```
## Test
```shell
./gradlew test
```
## Code Style
Code Style is provided and configured with Spotless, you can read more about [Code Style here](https://goodforgod.dev/posts/3/)
Check Code Style:
```shell
./gradlew spotlessCheck
```
Apply Code Style:
```shell
./gradlew spotlessApply
```
## OpenAPI
Library for [OpenAPI/Swagger-UI/Rapidoc](https://github.com/GoodforGod/micronaut-management-openapi)
exposure configured, check library for [more info](https://github.com/GoodforGod/micronaut-management-openapi).
- **/openapi** - OpenAPI endpoint.
- **/swagger-ui** - Swagger-UI endpoint.
- **/rapidoc** - Rapidoc endpoint.