diff --git a/.env b/.env
new file mode 100644
index 0000000..cb0912e
--- /dev/null
+++ b/.env
@@ -0,0 +1 @@
+SERVER_PORT=8090
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..cb0912e
--- /dev/null
+++ b/.env.example
@@ -0,0 +1 @@
+SERVER_PORT=8090
diff --git a/pom.xml b/pom.xml
index f233738..05940c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,10 @@
21
+
+ 3.0.0
+ 4.0.0
+ 2.8.9
2025.0.0
@@ -56,10 +60,22 @@
org.springframework.cloud
spring-cloud-starter-netflix-eureka-server
-
- org.springframework.cloud
- spring-cloud-starter-openfeign
+
+
+ com.squareup.retrofit2
+ converter-jackson
+ ${retrofit.version}
+
+ me.paulschwarz
+ spring-dotenv
+ ${spring-dotenv.version}
+
+
+ org.springdoc
+ springdoc-openapi-starter-webmvc-ui
+ ${springdoc-openapi-starter.version}
+
org.springframework.boot
diff --git a/src/main/java/com/backend/extractor/kodik/service/anyame/bff/AnyameVueBffApplication.java b/src/main/java/com/backend/extractor/kodik/service/anyame/bff/AnyameVueBffApplication.java
index 2a7a60b..c343950 100644
--- a/src/main/java/com/backend/extractor/kodik/service/anyame/bff/AnyameVueBffApplication.java
+++ b/src/main/java/com/backend/extractor/kodik/service/anyame/bff/AnyameVueBffApplication.java
@@ -2,12 +2,16 @@ package com.backend.extractor.kodik.service.anyame.bff;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cache.annotation.EnableCaching;
+import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@SpringBootApplication
+@EnableCaching
+@EnableEurekaServer
public class AnyameVueBffApplication {
- public static void main(String[] args) {
- SpringApplication.run(AnyameVueBffApplication.class, args);
- }
+ public static void main(String[] args) {
+ SpringApplication.run(AnyameVueBffApplication.class, args);
+ }
}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index a778c20..4983d05 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1 +1,3 @@
spring.application.name=anyame-vue-bff
+server.port=${SERVER_PORT}
+eureka.client.serviceUrl.defaultZone=http://localhost:${SERVER_PORT}/eureka/