The Unpopular Decision

This commit is contained in:
etc404
2026-04-16 17:49:41 -06:00
parent cefc69bd33
commit 6663539011
82 changed files with 5772 additions and 0 deletions
@@ -0,0 +1,23 @@
package com.example.demo.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;
@RestController
public class HealthController {
@GetMapping("/api/health")
public Map<String, Object> healthCheck() {
Map<String, Object> response = new HashMap<>();
response.put("status", "UP");
response.put("timestamp", LocalDateTime.now());
response.put("service", "Recipe Backend");
return response;
}
}