This commit is contained in:
2025-12-04 22:33:05 +01:00
parent 316175e158
commit 9dee06cdd6
145 changed files with 16865 additions and 88 deletions

15
public/api.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
// 1. Composer Autoload (Falls nicht schon im Webserver-Setup enthalten)
$composerAutoload = __DIR__ . '/../vendor/autoload.php';
if (is_file($composerAutoload)) {
require_once $composerAutoload;
}
// 2. Lade die Service-Klasse (API-Kernel)
require_once __DIR__ . '/../inc/ApiKernel.php';
// 3. Erstelle eine Instanz und führe sie aus
$api = new ApiKernel();
$api->run();