Files
F4ilji c01016a154 Migrate backend to Porto architecture and fix minor bugs
- Fully transitioned the backend to the Porto architectural pattern
- Improved code organization and maintainability
- Fixed minor bugs and inconsistencies
2025-05-12 08:47:43 +05:00

12 lines
489 B
PHP

<?php
use App\Containers\Search\UI\API\Controllers\SearchController;
use App\Containers\Search\UI\API\Controllers\StaticSearchController;
use Illuminate\Support\Facades\Route;
Route::get('/search', [SearchController::class, 'index'])->name('client.search.index');
Route::get('/static/search', [StaticSearchController::class, 'search'])->name('client.search.static');
Route::get('/static/categories', [StaticSearchController::class, 'getCategories'])->name('client.categories.static');