implement error and healthh endpoints
All checks were successful
Build and Publish / build-release (push) Successful in 1m28s

This commit is contained in:
2026-04-15 15:56:33 -05:00
parent fecc0cf562
commit 847a057e7b
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
defmodule ProviderServiceWeb.HealthController do
use ProviderServiceWeb, :controller
def health(conn, _params) do
conn
|> put_status(:ok)
|> json(%{status: "ok"})
end
def ready(conn, _params) do
conn
|> put_status(:ok)
|> json(%{status: "ready"})
end
end