버전
Java - 11
Spring boot - 2.7.13
Gradle - 8.1.1
DB - mysql
spring security, jpa, thymeleaf, bootstrap5
dependencies
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
application.yml
spring:
jpa:
database: mysql
show-sql: true
hibernate:
ddl-auto: update
properties:
format_sql: true
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
username: [name]
password: [password]
url: jdbc:mysql://localhost:3306/[DBname]
thymeleaf:
cache: false
방향
모르는것이 많이때문에 진행하면서 배우는것들을 정리할예정이고
DB구현도 진행하면서 필요한것들 추가할예정