REST API Implementation for Employee Attendance System Based on Client–Server Architecture Using Laravel Sanctum
Keywords:
Laravel, Sanctum, REST API, Employee Attendance, HTTPAbstract
REST API has become a popular approach in modern system development due to its lightweight, flexible nature, and easy integration with various platforms. This study implements a REST API for an employee attendance system using the Laravel framework and Sanctum token authentication for access security. The system provides registration, login, clock-in and clock-out recording, attendance history, and daily and monthly reports that can only be accessed by administrators. Testing was conducted using Postman to ensure the validity of HTTP responses, JSON structures, and token-based access security. The results of the study show that all endpoints function well and are able to handle business validation appropriately. This system can be the foundation for web-based and mobile attendance applications in the future.

