add user search in SearchController, add start and end datetime in events table

This commit is contained in:
2025-12-09 12:28:02 +01:00
parent da20be4558
commit 8426755db3
89 changed files with 4684 additions and 11 deletions
+4
View File
@@ -1,6 +1,7 @@
<?php
use App\Http\Controllers\AuthController;
use App\Http\Controllers\SearchController;
use App\Http\Controllers\UserController;
use App\Http\Controllers\EventsController;
use App\Http\Controllers\NotificationsController;
@@ -39,3 +40,6 @@ Route::middleware(['web', 'auth:sanctum'])->get('/users/tasks/{idTask}', [UserCo
Route::middleware(['web', 'auth:sanctum'])->get('/users/{id}/notifications', [NotificationsController::class, "getNotifications"])->whereNumber('id');
Route::post("/users/{id}/create/notification", [NotificationsController::class, "create"])->whereNumber('id');
Route::middleware(['web', 'auth:sanctum'])->get('/users/search', [SearchController::class, "searchUsers"]);