Skip to content

Commit

Permalink
feat(HomeController) : HomeController 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoonworld committed Jan 27, 2025
1 parent b72f574 commit 5546d5e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/noostak/NoostakApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;

@SpringBootApplication
public class NoostakApplication {
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/org/noostak/global/config/HomeController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.noostak.global.config;


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


public class HomeController {

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

0 comments on commit 5546d5e

Please sign in to comment.