This commit is contained in:
nurmuhammet committed 2024-10-18 19:29:44 +05:00
1 parent 681d87236a
commit 0e436b0680
6 files changed
+149 -3

No files matched your search

+4
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 @@
// 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']);