Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 10 days ago
JSON representation

A boilerplate repository for writing Java application using Quarkus

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 compile 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
```