init backend presensi

This commit is contained in:
mwpn
2026-03-05 14:37:36 +07:00
commit b4fda6b9c9
319 changed files with 27261 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
/**
* Mobile Module Routes
*
* This file is automatically loaded by ModuleLoader.
*
* @var \CodeIgniter\Router\RouteCollection $routes
*/
$routes->group('api/mobile', [
'namespace' => 'App\Modules\Mobile\Controllers',
], function ($routes) {
$routes->post('login', 'RegistrationController::login');
$routes->post('register/nisn', 'RegistrationController::checkNisn');
$routes->post('register/complete', 'RegistrationController::complete');
$routes->post('forgot-pin', 'RegistrationController::forgotPin');
$routes->post('checkin-qr', 'CheckinController::checkinQr');
$routes->post('checkin-masuk-pulang', 'CheckinController::checkinMasukPulang');
$routes->get('attendance/today', 'CheckinController::todayStatus');
$routes->get('student/face-photo', 'FacePhotoController::show');
});