Clone the repository
$ git clone https://github.com/denilsonssj/algalog
First, make sure you use JDK version 11 or higher. You can download this version at this link.
After, create file application.yml in location src/main/resources/ and copy with the values below and replace him.
spring:
datasource:
url: "jdbc:postgresql://127.0.0.1:5432/algalog"
username: "postgres"
password: "postgres"
jpa:
database-platform: org.hibernate.dialect.PostgreSQL94Dialect
show-sql: false
hibernate:
ddl-auto: update
server:
port: 8080
Now, install all dependencies using maven:
$ ./mvnw install -U clean
$ ./mvnw spring-boot:run
The demo project can be viewed here.