Add MySQL schema dump for phpMyAdmin

This commit is contained in:
Thomas
2025-10-28 14:08:03 +01:00
parent f956a735ca
commit 8e608d03ec
49 changed files with 1929 additions and 1 deletions

12
routes/web.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
use App\Controllers\AuthController;
use App\Controllers\DashboardController;
use App\Core\Response;
use App\Http\Middleware\AuthMiddleware;
$router->get('/login', fn() => (new AuthController())->showLogin());
$router->post('/login', fn() => (new AuthController())->login());
$router->get('/logout', fn() => (new AuthController())->logout(), [AuthMiddleware::class]);
$router->get('/', fn() => (new DashboardController())->index(), [AuthMiddleware::class]);