- Spring Boot 2.6.2
- Spring Data JPA
- Spring Security
- PostgreSQL
- H2
- QueryDSL
- Thymeleaf
-
Create PostgreSQL database
psql > CREATE DATABASE shop;
-
Configure database (application.yml)
spring.datasource.url=jdbc:postgresql://localhost:5432/shop spring.datasource.username=<YOUR_USERNAME> spring.datasource.password=<YOUR_PASSWORD>
-
Run Porject
> ./gradlew bootRun