cleanup file structure, dockerize app

This commit is contained in:
KS Jannette
2026-05-19 03:37:56 -04:00
parent 4042ba87f5
commit 8cfde57cab
18 changed files with 262 additions and 98 deletions

View File

@@ -0,0 +1,15 @@
package httpjson
import (
"net/http"
"github.com/labstack/echo/v4"
)
func (h *Handler) setupHealthCheckRoutes(app *echo.Echo) {
app.GET("/health", h.healthCheck)
}
func (h *Handler) healthCheck(c echo.Context) error {
return c.String(http.StatusOK, "OK")
}