Skip to content

Instantly share code, notes, and snippets.

@2013techsmarts
Created June 10, 2020 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2013techsmarts/dae885f07147607e76f2e79b77cf1f4d to your computer and use it in GitHub Desktop.
Save 2013techsmarts/dae885f07147607e76f2e79b77cf1f4d to your computer and use it in GitHub Desktop.
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