add today view route and template

This commit is contained in:
Yisroel Baum 2026-04-26 21:24:35 +03:00
parent 0b4d7238af
commit bfacb5b62c
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 60 additions and 1 deletions

View file

@ -27,6 +27,7 @@ $app->post('/api/auth/register', [AuthController::class, 'register']);
// Authenticated routes (any logged-in user)
$app->group('', function (RouteCollectorProxy $group) {
$group->get('/home', [ViewController::class, 'home']);
$group->get('/today', [ViewController::class, 'today']);
$group->post('/api/auth/logout', [AuthController::class, 'logout']);
$group->get('/api/auth/me', [AuthController::class, 'me']);