File size: 275 Bytes
ac8bc88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @file routes.cpp
 */

#include "api/routes.hpp"
#include <format>

namespace app::api {

HttpResponse health_check() {
    return HttpResponse{
        200,
        R"({"status":"ok","app":"C++ Backend"})",
        "application/json"
    };
}

} // namespace app::api