Created
June 12, 2022 11:39
-
-
Save hakaneroztekin/bd4cc181930566e7bb8ea30d6c2f75f5 to your computer and use it in GitHub Desktop.
example-spring-app [docker in a nutshell]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RestController | |
@RequestMapping("/") | |
public class GreetingsController { | |
@GetMapping | |
public String helloWorld() { | |
return "Hello World!"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment