Slim API deployment - composer install + full CRUD endpoints

This commit is contained in:
Hermes Agent
2026-05-20 14:36:05 +02:00
parent 48bf9c7088
commit 8ab4e532fd
1727 changed files with 7746 additions and 7 deletions

12
api/test_login.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
require __DIR__."/vendor/autoload.php";
use App\Config\Container;
Container::boot();
$user = \App\Models\User::where("email", "admin@nordring.test")->first();
if ($user) {
echo "User found: " . $user->email . "\n";
echo "Hash: " . $user->password_hash . "\n";
echo "Verify: " . (password_verify("Tanja82", $user->password_hash) ? "OK" : "FAIL") . "\n";
} else {
echo "User not found";
}