RH.RONY
Back to Projects
Full-Stack Developer (Personal Project)•2 Weeks

CineReserve: Cinema Booking System

A self-learning full-stack cinema reservation system built in 2 weeks to practice solving real-world database concurrency, automated CI/CD pipelines, and Linux VPS self-hosting. Features PostgreSQL row-level locking to eliminate double-booking race conditions, interactive hall seat selection, Google OAuth, Docker containerization, and automated deployments with GitHub Actions.

Check Live WebsiteView Source Code
ReactNode.jsExpressPostgreSQLDockerCI/CDGoogle OAuthVPS / NginxTailwind CSS
The Challenge

Built as a self-learning project to explore how distributed ticketing platforms prevent race conditions when multiple users attempt to reserve the same seat simultaneously, and how to reliably automate deployments to a self-managed Linux VPS.

  • Concurrent requests cause race conditions where two users can accidentally checkout the exact same seat.
  • Manual deployments to virtual servers lead to configuration drift, broken dependencies, and unexpected downtime.
  • Orchestrating multiple services (frontend, backend, database) requires clean container isolation and reverse proxy routing.
The Approach

Engineered an Express and PostgreSQL backend utilizing explicit row-level locking (SELECT ... FOR UPDATE) inside isolated ACID database transactions, bundled in Docker containers with automated GitHub Actions CI/CD to a production VPS.

  • ACID Row-Level Locking (SELECT ... FOR UPDATE)— Locks target seat rows immediately upon selection, blocking competing transactions until the checkout completes or expires.
  • Automated GitHub Actions CI/CD Pipeline— Configured automated deployment workflows that build, test, and update Docker containers on the production VPS on every git push.
  • Production VPS with Nginx Reverse Proxy— Configured upstream reverse proxying, rate-limiting, and SSL termination on a self-managed Linux VPS.
  • Interactive Hall Spatial Matrix— Responsive spatial seating canvas rendering hall geometries with real-time color-coded seat reservation states.