CodeFiveMinutesDebugTwoHours / JQuestions

quarkus project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JQuestions

A JAX-RS server configured by Quarkus, based on this sample, with JPA with Hibernate, CDI… Ready to be deployed to Heroku.

To deploy to Heroku, simply follow their tutorial, replacing their example application with this one: instead of git clone https://github.com/heroku/java-getting-started, type git clone https://github.com/oliviercailloux/JQuestions.git.

Local configuration file

To develop and test your application locally, create a file named .env and set the following properties.

quarkus.http.port = 8080
quarkus.datasource.username = …
quarkus.datasource.password = …
quarkus.datasource.jdbc.url = jdbc:postgresql://….compute.amazonaws.com:…/…
quarkus.log.file.enable = true
quarkus.log.file.level = DEBUG

You will find the credentials and URL of your datasource using the Heroku GUI or CLI, as indicated in their tutorial.

About

quarkus project

License:MIT License


Languages

Language:Java 99.1%Language:XSLT 0.5%Language:HTML 0.4%Language:Procfile 0.1%