Case Study Overview
Facility Booking System
A full-stack reservation workflow designed to reduce manual coordination, prevent schedule conflicts, and track administrative approvals cleanly.
February 2026 - May 2026Problem
At IPB University, borrowing classrooms, halls, or shared equipment often scatters across informal chats and paper forms, causing slow confirmations and accidental double bookings.
Administrators need a single queue with conflict validation instead of reconstructing approvals from chat threads.
- Students lack live room availability and clear approval timelines.
- Manual coordination leads to forgotten follow-ups and overlapping schedules.
- Audit trails matter when multiple student organizations share campus infrastructure.
Decision
Designed the application around explicit workflow state transitions—submitted, reviewed, approved, rejected, and recorded—backed by PostgreSQL constraints.
Separated requester submission flows from administrator conflict-review views.
- Implemented strict relational scheduling checks using PostgreSQL and TypeScript.
- Modeled role-based views (RBAC) for student requesters and facility administrators.
- Kept approval statuses transparent at every stage.
Learning & Impact
Replaced scattered ad-hoc coordination concepts with an enforceable booking lifecycle.
Deepened practical experience with RBAC, relational constraints, and Next.js full-stack patterns.
- Clarified room availability and approval status in one shared system.
- Eliminated conceptual double-booking gaps via state-driven database rules.
- Applied least-privilege role separation cleanly between students and admins.
Takeaway
Operational tools succeed when every state transition has a single owner and zero ambiguity around next actions.


