diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-21 20:50:43 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-21 20:50:43 +0100 |
| commit | d1ef15fa39935bfa0420c5ac2b8c269e294c9a6d (patch) | |
| tree | 618158449863123f6b9527b9db6183f8c3ce5c91 /src/config/routes.php | |
| download | camagru-d1ef15fa39935bfa0420c5ac2b8c269e294c9a6d.tar.gz camagru-d1ef15fa39935bfa0420c5ac2b8c269e294c9a6d.zip | |
Initial project scaffold
Set up MVC architecture with front controller, router, autoloader,
database singleton, and Docker Compose stack (Nginx + PHP-FPM + MariaDB).
Includes DB schema, responsive layout, dev tooling (php-cs-fixer,
parallel-lint), and documentation.
Diffstat (limited to 'src/config/routes.php')
| -rw-r--r-- | src/config/routes.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config/routes.php b/src/config/routes.php new file mode 100644 index 0000000..d25cfb5 --- /dev/null +++ b/src/config/routes.php @@ -0,0 +1,7 @@ +<?php + +declare(strict_types=1); +// Route definitions: maps URL patterns to controller methods. + +/** @var \App\Router $router */ +$router->get('/', 'HomeController', 'index'); |
