koprogo_api/infrastructure/web/handlers/
health.rs1use actix_web::{get, HttpResponse, Responder};
2use serde_json::json;
3
4#[get("/health")]
5pub async fn health_check() -> impl Responder {
6 HttpResponse::Ok().json(json!({
7 "status": "ok",
8 "service": "koprogo-api"
9 }))
10}