How jcuramingdev/grp1_verity works
Verity is a supervisor-facing anti-buddy-punching system. A supervisor uses the web interface to authorize access and submit a manual attendance scan; the API validates the employee, compares scan time with shift start, records the scan, and, for late scans, updates strikes and the vacant-time queue. The interface also presents dashboard metrics, master logs, queue and payroll views, and navigation for compliance reports. The excerpts show the UI/API and API/database calls; report behavior and the schema’s details are not shown.
Main entry points: index.php Web Interface · api.php HTTP API · db.php PDO Connection · schema.sql MySQL Database
Components 15
Supervisor Interface
- Web Interface
Source Code/index.php - Dashboard Analytics
Source Code/index.php - Vacant Time Queue
Source Code/index.php - Strikes & Payroll
Source Code/index.php - Master Logs
Source Code/index.php - Compliance Reports
Source Code/index.php
Attendance API
- HTTP API
Source Code/api.php - Supervisor Authorization
Source Code/api.php - Scan Processing
Source Code/api.php - Late Scan Handling
Source Code/api.php - Dashboard Data
Source Code/api.php
Persistence
- PDO Connection
Source Code/db.php - MySQL Database
Database/schema.sql
Other components
- Supervisor
- MySQL Server
Connections 14
- Supervisor → Web Interface: uses
Source Code/index.php - Web Interface → HTTP API: fetches
Source Code/index.php - HTTP API → PDO Connection: loads
Source Code/api.php - PDO Connection → MySQL Server: connects
Source Code/db.php - HTTP API → MySQL Database: queries
Source Code/api.php - Web Interface → Dashboard Analytics: renders
Source Code/index.php - Web Interface → Vacant Time Queue: renders
Source Code/index.php - Web Interface → Strikes & Payroll: renders
Source Code/index.php - Web Interface → Master Logs: renders
Source Code/index.php - Web Interface → Compliance Reports: navigates to
Source Code/index.php - HTTP API → Supervisor Authorization: validates
Source Code/api.php - HTTP API → Scan Processing: processes
Source Code/api.php - Scan Processing → Late Scan Handling: branches to
Source Code/api.php - HTTP API → Dashboard Data: aggregates
Source Code/api.php