Fix daily_summary dan hourly_summary aggregation, tambah fallback logic untuk dashboard, update validator untuk camera dan location type

This commit is contained in:
mwpn
2025-12-18 11:13:06 +07:00
parent 9416de7d87
commit d05fa2f4cd
31 changed files with 2041 additions and 45 deletions

View File

@@ -2,7 +2,7 @@
"openapi": "3.0.0",
"info": {
"title": "API Retribusi",
"description": "Sistem API Retribusi berbasis Slim Framework 4 untuk infrastruktur pemerintah",
"description": "API Retribusi BAPENDA Kabupaten Garut untuk monitoring Retribusi",
"version": "1.0.0",
"contact": {
"name": "BTekno Development Team"

16
public/router.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
/**
* Router script for PHP built-in server
* Usage: php -S localhost:8000 router.php
*/
// If the request is for a file that exists, serve it
$file = __DIR__ . $_SERVER['REQUEST_URI'];
if (file_exists($file) && is_file($file) && $_SERVER['REQUEST_URI'] !== '/') {
return false;
}
// Otherwise, route to index.php
require __DIR__ . '/index.php';