add home and handle 404 page not found

This commit is contained in:
arifal
2025-01-17 02:29:52 +07:00
parent 84d8f3ca6a
commit 4de7067487
16 changed files with 1046 additions and 289 deletions

8
routes/api.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::get('/user', function (Request $request) {
return $request->user();
})->middleware('auth:sanctum');