# Conflicts:
#	build.gradle
This commit is contained in:
2025-06-12 17:36:43 +09:00
23 changed files with 326 additions and 214 deletions
+2
View File
@@ -2,5 +2,7 @@ dependencies {
implementation project(':common')
// External API Integration
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
}
@@ -0,0 +1,33 @@
package com.ktds.hi.store;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.web.client.RestTemplate;
/**
* 추천 서비스 메인 애플리케이션 클래스
* 가게 추천, 취향 분석 기능을 제공
*
* @author 하이오더 개발팀
* @version 1.0.0
*/
@SpringBootApplication(scanBasePackages = {
"com.ktds.hi.store",
"com.ktds.hi.common"
})
@EnableJpaAuditing
public class StoreApplication {
public static void main(String[] args) {
SpringApplication.run(StoreApplication.class, args);
}
// 👈 이 부분만 추가
@Bean
public RestTemplate restTemplate() {
return new RestTemplate();
}
}
+1 -1
View File
@@ -13,7 +13,7 @@ spring:
jpa:
hibernate:
ddl-auto: ${JPA_DDL_AUTO:validate}
ddl-auto: ${JPA_DDL_AUTO:create}
show-sql: ${JPA_SHOW_SQL:false}
properties:
hibernate: