feat: implement BankFlow loan workflow API endpoints

This commit is contained in:
m.ebrahimi committed 2026-07-22 17:31:18 +03:30
1 parent 56a52be180
commit 7824e8f015
43 files changed
+1403 -10

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
<?php
use App\Http\Controllers\Api\V1\LoanController;
use Illuminate\Support\Facades\Route;
Route::prefix('v1')->name('api.v1.')->group(function (): void {
Route::post('/loans', [LoanController::class, 'store'])->name('loans.store');
Route::post('/loans/{loanId}/process', [LoanController::class, 'process'])->name('loans.process');
Route::get('/loans/{loanId}', [LoanController::class, 'show'])->name('loans.show');
Route::get('/loans/{loanId}/history', [LoanController::class, 'history'])->name('loans.history');
});
+3
View File
@@ -1,7 +1,10 @@
<?php
use App\Http\Controllers\HealthCheckController;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
Route::get('/health', HealthCheckController::class)->name('health');