Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quarkus Command Examples
#!/bin/bash
# standard api
quarkus create app --verbose --refresh --maven --java=11 --package-name=io.keam \
--extensions=resteasy-reactive,resteasy-reactive-jackson,hibernate-orm-rest-data-panache,jdbc-postgresql,smallrye-jwt,smallrye-jwt-build \
--app-config=quarkus.datasource.db-kind=postgresql,quarkus.datasource.username=root,quarkus.datasource.password=root,quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/todo_app,quarkus.hibernate-orm.database.generation=drop-and-create \
io.keam:quarkus-todo:1.0.0-SNAPSHOT
# reactive api
# quarkus create app --verbose --refresh --maven --java=11 --package-name=io.keam \
# --extensions=resteasy-reactive,resteasy-reactive-jackson,hibernate-orm-rest-data-panache,reactive-pg-client,smallrye-jwt,smallrye-jwt-build,hibernate-reactive-panache \
# --app-config=quarkus.datasource.db-kind=postgresql,quarkus.datasource.username=root,quarkus.datasource.password=root,quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/todo_app,quarkus.hibernate-orm.database.generation=drop-and-create \
# io.keam:quarkus-todo:1.0.0-SNAPSHOT
# reactive html
# quarkus create app --verbose --refresh --maven --java=11 --package-name=io.keam \
# --extensions=resteasy-reactive,resteasy-reactive-qute,hibernate-orm-rest-data-panache,reactive-pg-client,hibernate-reactive-panache,security-jpa \
# --app-config=quarkus.datasource.db-kind=postgresql,quarkus.datasource.username=root,quarkus.datasource.password=root,quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/todo_app,quarkus.hibernate-orm.database.generation=drop-and-create \
# io.keam:quarkus-web:1.0.0-SNAPSHOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment