%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/kurniadev.rezakurnia.com/kurniadev/routes/
Upload File :
Create Path :
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');

Zerion Mini Shell 1.0