To launch, cd into project's root directory and execute command : gradle build && java -jar build/libs/spring-boot-kotlin-demo-0.0.1-SNAPSHOT.jar
To launch in debug mode : gradle build && java -Xdebug -Xrunjdwp:transport=dt_socket,address=8998,server=y -jar build/libs/spring-boot-kotlin-demo-0.0.1-SNAPSHOT.jar
Note application will not boot until attached via debugger on port 8998.
There are two users. Username: admin, Password:admin and Username: user, Password: user
Naturally, there are also two roles: ROLE_USER and ROLE_ADMIN
resources/application.yml
jpa:
database: POSTGRESQL
show-sql: true
hibernate:
ddl-auto: create-drop <- If you don't wish to start with a fresh db on every application boot, you will want to change this to update or create
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/kotlindemo
user: mbagliojr <- You will want to change the user and, more likely than not, the url
password: None by default