
Pemkot Surabaya — SPK Permohonan Siteplan Tata Kota
A site plan consultation and permit-processing system for the City of Surabaya, with role-based task assignment, field assistance scheduling and a citizen helpdesk.
About This Project
The Problem
How We Solved It
How It Works
- 1
Register & verify
Citizens create an account with username, name, email, phone and password. The API sends a one-time code by email and the account is activated on /verify-otp before the first login.
- 2
Submit a siteplan application
The applicant fills in parcel data and uploads the required documents, saving it as a DRAFT first. Files are stored in MinIO and served back only through signed or authenticated URLs; submitting moves the application to MASUK and triggers a confirmation email.
- 3
Coordinator triage & assignment
Coordinators see every incoming application, tick the document verification checklist and assign it to an officer (sub-coordinator, member or section head). Each officer only sees the applications assigned to them under Tugas Saya.
- 4
Processing, revision & field assistance
Officers move the application through DIVERIFIKASI, DIPROSES and MENUNGGU_ASISTENSI, or return it as DIKEMBALIKAN with notes for revision. They can schedule, reschedule or cancel on-site assistance sessions, and every status change sends an in-app notification and email to the applicant.
- 5
Result & history
Completed applications are marked SELESAI/TERKIRIM with the official result attached, and appear in the request history for staff and in the applicant's dashboard with real-time status tracking.
- 6
Helpdesk chat
Applicants open a chat session with the helpdesk; helpdesk staff see all sessions, reply, assign sessions to colleagues and close them, with new messages and notifications polled by the frontend.
- 7
Role-based access control
Every API route passes JWT authentication and a Casbin RBAC check. The superadmin manages users and role permissions from the Hak Akses screen, and the dashboard menu adapts to the logged-in role.
Key Capabilities
Online Applications
Verification & Returns
Task Assignment
Assistance Scheduling
Casbin Access Control
Helpdesk Chat
Inside the Product
Under the Hood
Impact & Outcomes
Digitized site plan consultation end-to-end for the city government
Full status history showing who handled each step of every application
Access rules adjustable at runtime without code or schema changes
A direct helpdesk channel between citizens and city staff
What I Learned
Other Projects
BRI — Rekening Koran (Account Statement)
Backend for Bank BRI's Account Statement platform — CASA, Top 5, and Loan modules across many services, plus a reusable shared library.
BRI — Microservices Migration (300+)
Led a zero-downtime migration of 300+ Enterprise Data Management microservices to production and development with Helm and Kubernetes.