Back to all cases

03 / CASE STUDY

Shared space booking mini app

Find a space. Make the next meeting happen.

Connect space discovery, time selection, confirmation and daily operations. People arrange a booking on their phones while operators manage the same schedule in one calendar.

Space booking interface showing A02 Co-creation Room on 6 November from 14:00 to 15:00, followed by confirmation with booking number BK-1106-028. The side panel shows validation, a temporary hold, confirmation and notification.
From space selection to confirmation: the room, time and party size carry through the booking journey, followed by a booking number and arrival details.

The business context

Bookings for shared meeting rooms and event spaces often live in chat messages, spreadsheets and front desk notes. People go back and forth to check capacity, equipment and availability. Operators repeatedly check for conflicts, while a last-minute cancellation can leave the calendar out of date.

This project brings space information, the booking calendar and reservation records into one system. People find an available room and book it directly; operators maintain opening hours, review the daily schedule and handle booking changes.

From finding a space to confirmation

  1. Find the right space. Browse rooms by date and party size, compare capacity, facilities and location, then check the arrival information in the space details.
  2. Choose an available time. The calendar distinguishes open, occupied and selected slots. After selecting A02 Co-creation Room from 14:00 to 15:00, the confirmation page brings together the room, date, party size and contact details.
  3. Submit and receive confirmation. The system checks the slot, saves the reservation and assigns a booking number. Repeated taps refer to the same record, and the confirmation appears in My bookings.
  4. Review plans and handle changes. People open their booking to check arrival details or cancel. A cancellation updates the calendar, and operators can follow the status history in the console.

The mini app and operations console

  • Space directory: manage names, photos, capacity, facilities and locations so people have the information they need before booking.
  • Booking calendar: combine opening hours, blocked periods and active reservations, with consistent availability across the space list and confirmation page.
  • My bookings: organize upcoming, completed and cancelled reservations, retaining booking numbers, contact details and action timestamps.
  • Operations console: review reservations by date and space, maintain room information and opening schedules, and inspect booking details and changes.
  • Message history: associate confirmations, cancellations and reminders with their bookings for users and operators to follow.

Consistent slots and booking states

Bookings use fixed time slots. The service checks the space and time before placing a temporary hold. Confirmation writes the reservation and slot occupancy within a PostgreSQL transaction, using a unique resource-and-slot constraint to handle simultaneous requests. Redis holds temporary reservations; the database stores the final booking state.

Each submission carries a distinct request identifier. Network retries and repeated taps retrieve the same booking result. Cancellation and expiry handlers check the current state before releasing a slot. Notifications are sent asynchronously after confirmation and retried on failure; booking details always show the current reservation state.

Taro and TypeScript organize the space list, time selection and booking details. Node.js services handle the reservation workflow and operations APIs. The booking number connects the mini app, console and message history so the full journey can be traced.

What this changes

People can find a space, choose a time and confirm their plans with clear feedback at every step. Operators work from a shared calendar, with bookings, cancellations and released slots kept in sync and a record to support each conversation.