Skip to content

Commit

Permalink
Merge pull request #6 from hcbak/chore/rebuilding
Browse files Browse the repository at this point in the history
chore: 프로젝트 최신화
  • Loading branch information
hcbak authored Jan 26, 2025
2 parents 2499779 + 2b084dc commit 583cce6
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
13 changes: 8 additions & 5 deletions backend/main/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.6'
id 'org.springframework.boot' version '3.4.2'
id 'io.spring.dependency-management' version '1.1.7'
}

group = 'kr.huichan.bak'
Expand All @@ -18,9 +18,12 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'org.springframework.boot:spring-boot-starter-web:3.4.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test:3.4.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.4'

// SpringDoc
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.3'
}

tasks.named('test') {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package kr.huichan.bak.main.controller;

import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.GetMapping;



@RestController
@RequestMapping("/")
public class MainController {

@GetMapping()
public String testRoot() {
return "Hello, World!";
}

}
1 change: 0 additions & 1 deletion backend/main/src/main/resources/application.properties

This file was deleted.

3 changes: 3 additions & 0 deletions backend/main/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
spring:
application:
name: main

0 comments on commit 583cce6

Please sign in to comment.