Skip to content
Beyond The CodeRuchel Afwa Mabrur
All Works & Case Studies
Administrative System·2026·02 of 08

BAP Online

Transitioning Berita Acara Pemeriksaan workflows to a unified system with numbering, status tracking, and auditability.

Role

System development and integration

Timeline

July 2026 — ongoing

Team

Solo

Status

Production Deployment

01 — Context & Genesis

Why this system was initiated

Berita Acara Pemeriksaan (BAP) is a formal administrative legal document requiring structured governance: chronological registration numbering, explicit status states, and transparent audit trails. When managed through manual registers, registration numbering and status consistency frequently collide. This web application was developed specifically for the operational environment of Kantor Imigrasi Kelas I TPI Tanjungpinang to eliminate ambiguity.

02 — Core Engineering Challenges

Problems addressed in the architecture

CHALLENGE 01

Manually maintained registration numbers were susceptible to race collisions, duplicate records, and sequencing gaps.

CHALLENGE 02

Document status was opaque across disparate administrative desks, requiring repetitive verbal status checks.

CHALLENGE 03

Notifications were decoupled from records, leading to communication mismatches.

CHALLENGE 04

Information was fragmented across individual spreadsheets with no canonical source of truth.

03 — Architectural Decisions

System approach and implementation

Phase 01

Automated registration numbering

Registration identifiers are computed and allocated server-side at registration time. This systematically eliminates collision bugs, missing sequences, and formatting variations.

Phase 02

Explicit status state machine

Every BAP record transitions through a strictly bounded three-state pipeline: Menunggu → Dikonfirmasi → Selesai. State transitions are deterministic and unambiguous.

Phase 03

Google Sheets storage via Apps Script

Underlying records are stored in Google Sheets and interfaced through Apps Script. This pragmatic decision allows administrative staff to inspect raw spreadsheets directly within their familiar ecosystem.

Phase 04

Automated WhatsApp notifications via Fonnte API

Status updates automatically trigger dispatch alerts via the Fonnte API directly within the transaction pipeline, removing manual notification oversights.

04 — Concrete Technical Outcomes

Verified outcomes & real capabilities

  • Operational web application featuring authentication, registration workflows, and an administrative oversight dashboard.
  • Registration numbering and state transitions are automated and validated by system logic.
  • Lightweight, responsive UI operable across diverse desktop and mobile hardware available in the office.
  • Source code repository and public deployment accessible for inspection via verified links.

* Note: The primary architectural challenge was reaching organizational consensus on the state machine transition rules and numbering syntax before writing code.