добавляю тестовый модуль. Не уверен, что он нужен, но на всякий случай пусть будет, если там что-то тестировалось нужное или интересное

This commit is contained in:
vasya
2026-04-11 19:33:53 +03:00
parent 21eb65ad4b
commit 77bd5c2581
21 changed files with 418 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::middleware(['auth:sanctum'])->prefix('v1')->name('api.')->group(function () {
Route::get('test', fn (Request $request) => $request->user())->name('test');
});