17 lines
529 B
Java
17 lines
529 B
Java
|
package com.wyattjmiller.home.recipefoliobackend.controller;
|
||
|
|
||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
||
|
@RestController
|
||
|
public class RootController {
|
||
|
|
||
|
@GetMapping("/")
|
||
|
public String GetRootPage() {
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append("RecipeFolio Backend, a RESTful API server software\n");
|
||
|
sb.append("Designed and developed by Miller Web Solutions, Wyatt J. Miller \nCopyright 2022");
|
||
|
return sb.toString();
|
||
|
}
|
||
|
}
|