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
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?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');
|
||||
Reference in New Issue
Block a user