Fix: tambah instruksi untuk jalankan backend dengan router.php

This commit is contained in:
mwpn
2025-12-19 05:26:28 +07:00
parent 801ea1bfcd
commit 3490012ac0
2 changed files with 112 additions and 1 deletions

View File

@@ -34,12 +34,21 @@ http://localhost/index.html
### Opsi 3: Gunakan PHP Built-in Server
**Frontend:**
```bash
cd "C:\laragon\www\RETRIBUSI_BAPENDA\retribusi (frontend)\public"
php -S localhost:8080
```
Akses: `http://localhost:8080/index.html`
**Backend API (PENTING - harus dengan router.php):**
```bash
cd "C:\laragon\www\RETRIBUSI_BAPENDA\api-btekno\public"
php -S localhost:8000 router.php
```
**Akses:**
- Frontend: `http://localhost:8080/index.html`
- Backend API: `http://localhost:8000` (dengan router.php)
## Konfigurasi API