First commit

This commit is contained in:
2024-06-06 22:48:20 +02:00
commit 2a25500946
104 changed files with 17186 additions and 0 deletions

40
routes/web.php Normal file
View File

@@ -0,0 +1,40 @@
<?php
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use App\Http\Controllers\PersonController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/
Route::get('/', function () {
return Inertia::render('welcome');
});
Route::get('/results', function () {
return Inertia::render('Results');
})->name('results');
Route::get('/dashboard', function () {
return Inertia::render('Dashboard');
})->middleware(['auth', 'verified'])->name('dashboard');
Route::get('/info', function () {
return Inertia::render('Info');
})->name('info');
Route::get('/doc', function () {
return Inertia::render('Doc');
})->name('doc');
Route::get('/all', [PersonController::class, 'index']);
Route::any('/search', [PersonController::class, 'search'])
->name('search');