Last active
August 2, 2022 04:56
-
-
Save jkeam/1799bb5aaacd035b74c50c00c4f3d0b1 to your computer and use it in GitHub Desktop.
Quarkus Command Examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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