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,33 @@
<?php
namespace App\Modules\Dashboard\Controllers;
use App\Core\BaseApiController;
/**
* Health Controller
*
* Provides health check endpoint for API monitoring.
*/
class HealthController extends BaseApiController
{
/**
* Health check endpoint
*
* Returns API status and service information.
*
* @return ResponseInterface
*/
public function index()
{
$data = [
'service' => 'SMAN1 Attendance API',
'status' => 'ok',
];
return $this->successResponse(
$data,
'API is running'
);
}
}