diff --git a/README.md b/README.md index e939060..5c18041 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Frontend aplikasi Retribusi BAPENDA Kabupaten Garut. ``` retribusi (frontend)/ -├── index.php # Login page -├── public/ +├── public/ # Document root (running directory) +│ ├── index.php # Login page │ ├── dashboard/ │ │ ├── dashboard.html # Dashboard utama │ │ ├── event.html # Halaman event logs @@ -21,7 +21,6 @@ retribusi (frontend)/ │ │ ├── dashboard.js # Dashboard logic │ │ ├── charts.js # Chart.js helpers │ │ └── realtime.js # Realtime SSE client -│ └── index.php └── api/ # Legacy API endpoints (deprecated) ``` @@ -50,8 +49,9 @@ File `public/dashboard/js/config.js` mengatur: ## Development 1. Pastikan backend API sudah running -2. Buka `index.php` untuk login -3. Akses dashboard di `public/dashboard/dashboard.html` +2. Set document root ke folder `public/` +3. Buka `index.php` untuk login (atau akses root `/`) +4. Akses dashboard di `dashboard/dashboard.html` ## Production diff --git a/index.php b/public/index.php similarity index 79% rename from index.php rename to public/index.php index 1bdf556..19bba72 100644 --- a/index.php +++ b/public/index.php @@ -1,5 +1,6 @@ + @@ -20,6 +21,7 @@ } +
@@ -30,53 +32,51 @@
- + placeholder="Masukkan username">
- + placeholder="Masukkan password">
-
- + + -