Skip to content

Instantly share code, notes, and snippets.

@jkeam
Last active August 2, 2022 04:56
Show Gist options
  • Save jkeam/1799bb5aaacd035b74c50c00c4f3d0b1 to your computer and use it in GitHub Desktop.
Save jkeam/1799bb5aaacd035b74c50c00c4f3d0b1 to your computer and use it in GitHub Desktop.
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