GB Cinemas.
From seat selection to a booking summary.
GB Cinemas is a movie-booking demonstration that guides a visitor through booking details, seat selection, ticket and food choices, and a confirmation page. Server-side validation checks submitted booking information, calculates a bill, and generates a booking identifier for the displayed result.
Python and Flask implement the request flow and page rendering, while HTML, CSS, and JavaScript provide the booking interface. Vercel configuration is included and a production web deployment is available. The movie catalog is held in memory; the demo does not persist real reservations or process payments.
Why this build exists.
A booking interface must translate selected seats, ticket counts, and food options into a consistent confirmation. GB Cinemas demonstrates that request flow without claiming to reserve real cinema inventory.
My role & attribution
The repository implementation was reviewed, but a module-by-module personal ownership record was not available. The implementation details below describe the project; they do not imply sole authorship of every component.
What went
into it.
Project work & contribution
- Flask validates booking input, calculates a bill, generates a booking identifier, and renders confirmation details.
Technology stack
- Backend
- Python and Flask
- Frontend
- HTML, CSS and JavaScript
- Data
- In-memory catalog and booking calculations
- Delivery
- Vercel
Explore the components.
Select a component. Use arrow keys to move.
Implementation / Python / Flask / HTML / CSS / JavaScript
A movie-booking demonstration with form validation, seat selection, ticket and food pricing, and a confirmation page.
Delivery / Flask demo
Vercel configuration is present. The implementation uses in-memory catalog data and does not persist real bookings or process payments.
Component overview based on the project description. It does not represent a verified production network.
Inside the implementation.
- 01
Flask renders the booking interface using in-memory movie, seat-price, food, and show-time data. HTML, CSS, and JavaScript provide the selection flow.
- 02
The /book handler accepts POST, checks known movie/show/seat options, bounds ticket counts, and compares the number of submitted seats with the ticket count.
- 03
A server-side helper calculates ticket and food costs, tax, and a fee before rendering confirmation with a generated booking identifier.
Challenges & tradeoffs
- Browser-submitted choices need server-side validation. The handler rejects invalid options and ticket counts before rendering a confirmation.
- Matching seat counts is not inventory locking. The demo does not enforce real seat availability or concurrent reservations.
- An in-memory catalog keeps the demonstration small but cannot preserve booking state across server instances.
What was checked.
Reviewed app.py and vercel.json on 21 Oct 2026. Validation branches and bill calculation are visible in source; the routes were not executed in this review. A useful next verification set is invalid form choices, mismatched seat counts, billing totals, and concurrent requests. These are proposed checks, not recorded passing tests.
From code to deployment.
Vercel configuration is present. The implementation uses in-memory catalog data and does not persist real bookings or process payments.
Application delivery, state management, and interface design.
The current boundary.
No persistent reservations, inventory transactions, payment processing, or uniqueness guarantee for generated identifiers. Session-secret configuration needs production hardening. The retained Vercel link establishes a destination, not a verified purchase workflow.