Fix: tambah instruksi untuk jalankan backend dengan router.php
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user