Skip to content

Commit 887b0e9

Browse files
committed
init: postgreSQL 연결 #25
1 parent 00c7f51 commit 887b0e9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

backend/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ dependencies {
2222
implementation 'org.springframework.boot:spring-boot-starter-web'
2323
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2424
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
25+
26+
implementation 'org.springframework.boot:spring-boot-starter-jdbc' // Spring JDBC 의존성 추가
27+
// https://mvnrepository.com/artifact/org.postgresql/postgresql
28+
implementation 'org.postgresql:postgresql:42.7.3' // PostgreSQL JDBC 드라이버 의존성 추가
29+
runtimeOnly 'org.postgresql:postgresql:42.7.3' // 실행 시에만 필요한 의존성 추가
2530
}
2631

2732
tasks.named('test') {

backend/src/main/resources/application.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)