<?php

declare(strict_types=1);

use App\Core\Response;
use App\Core\Router;

return static function (Router $router): void {
    $router->get('/api/health', static fn(): Response => Response::json([
        'status' => 'ok',
        'application' => 'Grow Tool Therapies CRM',
        'phase' => 3,
    ]), name: 'api.health');
};
