I have a production ready API with laravel 11 and I want to integrate filament for some pretty views, but I want to integrate filament (create,update,list) with my existing API and not to default filament CRUD operation directly with models. For example I want to send create submit form to my API
p.s
Route::post('/teachers', [TeacherController::class, 'store']);
and edit to
Route::put('/teachers/{id}', [TeacherController::class, 'update']);
How can I integrate it ?
Thanks you anyway!
I use filament for the first time and I have no idea how to customize filament with existing API endpoints