From b311c6512ad135cc7c8285dde2474d7fd8c25830 Mon Sep 17 00:00:00 2001 From: jungeun Date: Tue, 30 Jul 2024 13:06:02 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20test=20=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/likelion12/TestController.java | 13 +++++++++++++ src/main/resources/application.yml | 5 ----- 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 src/main/java/com/example/likelion12/TestController.java diff --git a/src/main/java/com/example/likelion12/TestController.java b/src/main/java/com/example/likelion12/TestController.java new file mode 100644 index 0000000..f0cc9f3 --- /dev/null +++ b/src/main/java/com/example/likelion12/TestController.java @@ -0,0 +1,13 @@ +package com.example.likelion12; + +import lombok.Getter; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + @GetMapping("") + public String likelion(){ + return "test"; + } +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index fef50b0..f541f39 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -7,11 +7,6 @@ spring: config: activate: on-profile: local - datasource: - url: jdbc:mysql://localhost:3306/likelion12?characterEncoding=UTF-8&serverTimezone=UTC - username: likelion12 - password: 00000000 - driver-class-name: com.mysql.cj.jdbc.Driver jpa: hibernate: ddl-auto: update