This commit is contained in:
2024-10-18 19:29:44 +05:00
parent 681d87236a
commit 0e436b0680
6 changed files with 149 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\Api\FetchLoanHistoryController;
use App\Http\Controllers\FetchCardHistoryController;
use App\Http\Controllers\MetricsController;
use App\Http\Controllers\ProfileController;
@@ -24,6 +25,9 @@ use Illuminate\Support\Facades\Route;
// Fetch card history...
Route::post('fetch-card-history', [FetchCardHistoryController::class, 'index']);
// Fetch loan history...
Route::get('fetch-loan-history', [FetchLoanHistoryController::class, 'index']);
// Auth...
Route::post('auth/register', [ApiAuthController::class, 'register']);
Route::post('auth/login', [ApiAuthController::class, 'login']);