~/adnan-ahmed
Adnan Ahmed
All projects

Science Museum Ticketing Platform

Live
University-secured internship

Production visitor ticketing & gate admission platform for Addis Ababa University's Zoological Natural History Museum with QR check-in and Telebirr / CBE Birr payments.

ReactLaravelMySQLTelebirrCBE BirrQR Verification

Live Application: museum-ticketing-liart.vercel.app
Source Repository: github.com/PROFESSOR-ADNAN/museum-ticketing

The problem

A busy museum with high student foot traffic faces operational bottlenecks that marketing materials never reveal: visitor volume must stay within strict indoor capacity limits, ticket sales must prevent manual headcount fraud, and cash-only ticket desks cause massive queue congestion during morning school rushes. Paper receipts and manual bookkeeping cannot guarantee capacity control or eliminate double-entry errors.

The internship & context

Built during a university-secured engineering internship through Addis Ababa University's College of Natural and Computational Sciences (CNCS). The partner and direct stakeholder is the official Zoological Natural History Museum situated on the AAU Arat Kilo Campus. The mandate was to engineer an end-to-end digital admission, ticketing, and operational management system.

Engineering highlights

  • Pessimistic row locking against race conditions: Under heavy demand, multiple visitors attempting to reserve the last remaining seats in a scheduled visiting slot could trigger classic check-then-act race conditions. Solved by wrapping slot capacity verification and reservation increments inside a single database transaction holding an exclusive row lock (Slot::lockForUpdate()), serializing concurrent bookings at the database engine level.
  • Tamper-resistant cryptographic QR tickets: Each confirmed booking generates a signed digital ticket with a unique QR code tied directly to that database booking record, preventing ticket fabrication and spoofing.
  • Mobile gatekeeper scan & double-entry guard: Front-desk staff and gatekeepers scan visitor QR passes via a dedicated mobile scanner interface. The ticket verification query atomically checks status, records the admission timestamp, and flags the ticket as used in a single atomic update to prevent pass-back reuse.
  • Bilingual Ethiopian payment integration: Built a unified payment abstraction orchestrating Telebirr and Commercial Bank of Ethiopia (CBE Birr) mobile checkout with asynchronous webhook listeners.
  • Cashier POS & Manager analytics: Provided an on-site point-of-sale interface for walk-in cash ticket issuance alongside real-time managerial telemetry on daily visitor turnstiles and category breakdowns.

Review & architectural takeaways

Building for an external stakeholder changes engineering priorities from hypothetical features to rock-solid operational guarantees. Moving from conceptual design to a live deployed platform that museum staff can operate effortlessly demonstrated that handling concurrency at the database layer is the only truly reliable defense against high-traffic race conditions.