Created
June 10, 2020 17:30
-
-
Save 2013techsmarts/dae885f07147607e76f2e79b77cf1f4d to your computer and use it in GitHub Desktop.
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
package org.smarttechie.controller; | |
import org.springframework.web.bind.annotation.GetMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class DemoController { | |
@GetMapping | |
public String hello() { | |
return "Welcome to the Springboot Buildpacks!!. Get rid of Dockerfile hassels."; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment