# finnseville/wisata_liburan architecture

> Architecture diagram of the GitHub repository finnseville/wisata_liburan, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/finnseville/wisata_liburan
- Repository: https://github.com/finnseville/wisata_liburan

## Overview

NATOUR is a PHP travel-booking site for NTT tours. Users sign in, browse tour categories and packages, and can view booking and payment-related pages; users can also review or cancel bookings. Administrators have separate destination-management and booking-confirmation/rejection pages. The sampled booking helper calculates totals and writes orders and selected destinations. The README provides no capability detail, and several page excerpts are incomplete, so connections from booking forms to that helper and among unsampled pages are not asserted.

Main entry points: [`db_liburan.sql`](https://github.com/finnseville/wisata_liburan/blob/main/db_liburan.sql) (Application database), [`Login/login.php`](https://github.com/finnseville/wisata_liburan/blob/main/Login/login.php) (Sign in), [`admin/awal.php`](https://github.com/finnseville/wisata_liburan/blob/main/admin/awal.php) (Admin home), [`user/awal.php`](https://github.com/finnseville/wisata_liburan/blob/main/user/awal.php) (User home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity"]
  node_login["Sign in<br/>[login.php]"]
  node_registration["Registration<br/>[daftar.php]"]
end

subgraph group_discovery["Tour discovery"]
  node_user_home["User home<br/>[awal.php]"]
  node_category_pages["Tour categories"]
  node_package_details["Package details"]
end

subgraph group_booking["Booking operations"]
  node_booking_forms["Tour booking forms"]
  node_payment_pages["Payment pages<br/>[metodebayar.html]"]
  node_booking_result["Booking result<br/>[berhasil.php]"]
  node_my_bookings["My bookings"]
  node_cancel_booking["Cancel booking<br/>[batal_pesanan.php]"]
  node_booking_logic["Order logic<br/>[controller.php]"]
end

subgraph group_administration["Administration"]
  node_admin_home["Admin home<br/>[awal.php]"]
  node_destination_admin["Destination management"]
  node_booking_admin["Booking review<br/>[daftar_pesanan.php]"]
end

node_traveler(("Traveler"))
node_admin_actor(("Administrator"))
node_database[("Application database<br/>[db_liburan.sql]")]

node_traveler -->|"signs in"| node_login
node_traveler -->|"registers"| node_registration
node_login -->|"checks account"| node_database
node_login -->|"routes user"| node_user_home
node_login -->|"routes admin"| node_admin_home
node_user_home -->|"reads packages"| node_database
node_user_home -->|"opens category"| node_category_pages
node_category_pages -->|"opens package"| node_package_details
node_booking_forms -->|"loads destinations"| node_database
node_booking_logic -->|"reads prices; writes orders"| node_database
node_my_bookings -->|"reads orders"| node_database
node_my_bookings -->|"requests cancellation"| node_cancel_booking
node_admin_actor -->|"manages tours"| node_admin_home
node_admin_home -->|"opens destinations"| node_destination_admin
node_admin_home -->|"reviews orders"| node_booking_admin
node_destination_admin -->|"reads and updates"| node_database
node_booking_admin -->|"reviews orders"| node_database
node_package_details -->|"opens payment"| node_payment_pages
node_payment_pages -->|"shows outcome"| node_booking_result

click node_login "https://github.com/finnseville/wisata_liburan/blob/main/Login/login.php"
click node_registration "https://github.com/finnseville/wisata_liburan/blob/main/Login/daftar.php"
click node_user_home "https://github.com/finnseville/wisata_liburan/blob/main/user/awal.php"
click node_category_pages "https://github.com/finnseville/wisata_liburan/tree/main/user/paket"
click node_package_details "https://github.com/finnseville/wisata_liburan/tree/main/user/content"
click node_booking_forms "https://github.com/finnseville/wisata_liburan/tree/main/user/pemesanan-pantai"
click node_payment_pages "https://github.com/finnseville/wisata_liburan/blob/main/user/content/metodebayar.html"
click node_booking_result "https://github.com/finnseville/wisata_liburan/blob/main/user/content/berhasil.php"
click node_my_bookings "https://github.com/finnseville/wisata_liburan/blob/main/user/daftar_pemesanan.php"
click node_cancel_booking "https://github.com/finnseville/wisata_liburan/blob/main/user/batal_pesanan.php"
click node_booking_logic "https://github.com/finnseville/wisata_liburan/blob/main/config/controller.php"
click node_admin_home "https://github.com/finnseville/wisata_liburan/blob/main/admin/awal.php"
click node_destination_admin "https://github.com/finnseville/wisata_liburan/blob/main/admin/daftar_destinasi.php"
click node_booking_admin "https://github.com/finnseville/wisata_liburan/blob/main/admin/daftar_pesanan.php"
click node_database "https://github.com/finnseville/wisata_liburan/blob/main/db_liburan.sql"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_login,node_registration toneBlue
class node_user_home,node_category_pages,node_package_details,node_database toneAmber
class node_booking_forms,node_payment_pages,node_booking_result,node_my_bookings,node_cancel_booking,node_booking_logic toneMint
class node_admin_home,node_destination_admin,node_booking_admin toneRose
class node_traveler,node_admin_actor toneIndigo
```

## Components

### Identity

- [Sign in](https://github.com/finnseville/wisata_liburan/blob/main/Login/login.php): `Login/login.php`
- [Registration](https://github.com/finnseville/wisata_liburan/blob/main/Login/daftar.php): `Login/daftar.php`

### Tour discovery

- [User home](https://github.com/finnseville/wisata_liburan/blob/main/user/awal.php): `user/awal.php`
- [Tour categories](https://github.com/finnseville/wisata_liburan/tree/main/user/paket): `user/paket`
- [Package details](https://github.com/finnseville/wisata_liburan/tree/main/user/content): `user/content`

### Booking operations

- [Tour booking forms](https://github.com/finnseville/wisata_liburan/tree/main/user/pemesanan-pantai): `user/pemesanan-pantai`
- [Payment pages](https://github.com/finnseville/wisata_liburan/blob/main/user/content/metodebayar.html): `user/content/metodebayar.html`
- [Booking result](https://github.com/finnseville/wisata_liburan/blob/main/user/content/berhasil.php): `user/content/berhasil.php`
- [My bookings](https://github.com/finnseville/wisata_liburan/blob/main/user/daftar_pemesanan.php): `user/daftar_pemesanan.php`
- [Cancel booking](https://github.com/finnseville/wisata_liburan/blob/main/user/batal_pesanan.php): `user/batal_pesanan.php`
- [Order logic](https://github.com/finnseville/wisata_liburan/blob/main/config/controller.php): `config/controller.php`

### Administration

- [Admin home](https://github.com/finnseville/wisata_liburan/blob/main/admin/awal.php): `admin/awal.php`
- [Destination management](https://github.com/finnseville/wisata_liburan/blob/main/admin/daftar_destinasi.php): `admin/daftar_destinasi.php`
- [Booking review](https://github.com/finnseville/wisata_liburan/blob/main/admin/daftar_pesanan.php): `admin/daftar_pesanan.php`

### Other components

- **Traveler**
- **Administrator**
- [Application database](https://github.com/finnseville/wisata_liburan/blob/main/db_liburan.sql): `db_liburan.sql`

## Connections

- Traveler → Sign in: signs in
- Traveler → Registration: registers
- Sign in → Application database: checks account
- Sign in → User home: routes user
- Sign in → Admin home: routes admin
- User home → Application database: reads packages
- User home → Tour categories: opens category
- Tour categories → Package details: opens package
- Tour booking forms → Application database: loads destinations
- Order logic → Application database: reads prices; writes orders
- My bookings → Application database: reads orders
- My bookings → Cancel booking: requests cancellation
- Administrator → Admin home: manages tours
- Admin home → Destination management: opens destinations
- Admin home → Booking review: reviews orders
- Destination management → Application database: reads and updates
- Booking review → Application database: reviews orders
- Package details → Payment pages: opens payment
- Payment pages → Booking result: shows outcome
