https://github.com/zbhavyai/boilerplate-java
A boilerplate repository for writing Java application using Quarkus
https://github.com/zbhavyai/boilerplate-java
boilerplate-template java jax-rs mutiny quarkus rest-api vertx
Last synced: 3 months ago
JSON representation
A boilerplate repository for writing Java application using Quarkus
- Host: GitHub
- URL: https://github.com/zbhavyai/boilerplate-java
- Owner: zbhavyai
- License: mit
- Created: 2024-07-29T05:52:41.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-14T21:14:43.000Z (6 months ago)
- Last Synced: 2025-02-16T02:21:54.066Z (5 months ago)
- Topics: boilerplate-template, java, jax-rs, mutiny, quarkus, rest-api, vertx
- Language: Java
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boilerplate Java
Use this boilerplate code to author Java applications using Quarkus.
## Running dev mode
You can run your application in dev mode that enables live coding using below. Dev UI should be accessible at [http://localhost:3005/q/dev-ui/](http://localhost:3005/q/dev-ui/).
```shell
./mvnw quarkus:dev
```## Packaging and running JAR
1. Build the JAR
```shell
./mvnw package
```2. Run the JAR
```shell
java -jar ./target/boilerplate-java-1.0.0.jar
```## Packaging and running native executable
1. Build native executable
```shell
./mvnw package -Dnative
```2. Run the executable
```shell
./target/boilerplate-java-1.0.0
```