- Java JDK 1.8
- PostgreSQL
- Open
src/main/resources/application.conf
- Set PostgreSQL Credentials in
postgresDatabase
block - Save
Default Port is 8080
You can change the port in src/main/resources/application.conf
$ ./gradlew run
$ gradlew.bat run
You need to build .jar
file to deploy the application
$ ./gradlew shadowJar
The .jar file will be stored in build/libs
Your can run the .jar
file with
$ java -jar filename.jar