add me endpoint

This commit is contained in:
Yisroel Baum 2026-07-31 10:50:06 +03:00
parent b705d49aa1
commit c0d0d070a8
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 56 additions and 0 deletions

9
backend/routes/api.php Normal file
View file

@ -0,0 +1,9 @@
<?php
use App\Http\Controllers\AuthController;
use App\Http\Middleware\AuthMiddleware;
use Illuminate\Support\Facades\Route;
Route::middleware(AuthMiddleware::class)->group(function (): void {
Route::get('/me', [AuthController::class, 'me']);
});