%PDF- %PDF-
| Direktori : /home2/rezakur1/kurniadev.rezakurnia.com/kurniadev/routes/ |
| Current File : /home2/rezakur1/kurniadev.rezakurnia.com/kurniadev/routes/api.php |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\API\authController;
use App\Http\Controllers\API\guestController;
use App\Http\Controllers\API\chartDashboardController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "api" middleware group. Make something great!
|
*/
//createUserGuest
Route::post('/createUserGuest', [guestController::class, 'createUserGuest'])->name('createUserGuest');
// Visitor
Route::get('/weeklyVisitor', [chartDashboardController::class, 'weeklyVisitor'])->name('weeklyVisitor');
Route::get('/yearVisitor', [chartDashboardController::class, 'yearVisitor'])->name('yearVisitor');
// auth
Route::post('/login', [authController::class, 'login'])->name('login');