bookmyshow-ai-clone

🎬 AI-Powered Movie Ticket Booking System (bookmyshow-ai-clone)

![Next.js](https://img.shields.io/badge/Next.js-000000?style=for-the-badge&logo=next.js&logoColor=white) ![Node.js](https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=node.js&logoColor=white) ![Flask](https://img.shields.io/badge/Flask-000000?style=for-the-badge&logo=flask&logoColor=white) ![MongoDB](https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge&logo=mongodb&logoColor=white) ![Razorpay](https://img.shields.io/badge/Razorpay-02042B?style=for-the-badge&logo=razorpay&logoColor=00AEEF) ![OpenAI](https://img.shields.io/badge/OpenAI-412991?style=for-the-badge&logo=openai&logoColor=white) ![Python](https://img.shields.io/badge/Python-3670A0?style=for-the-badge&logo=python&logoColor=white) ![Render](https://img.shields.io/badge/Backend-Hosted%20on%20Render-0077CC?style=for-the-badge&logo=render&logoColor=white) ![Vercel](https://img.shields.io/badge/Frontend-Deployed%20on%20Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white) ![GitHub](https://img.shields.io/badge/GitHub-Repo-181717?style=for-the-badge&logo=github)

Summary

Developed a full-stack, intelligent movie booking platform integrating AI-driven components like a movie recommender system, seat demand predictor, fraud detection engine, and GPT-4 chatbot assistant. Inspired by BookMyShow, but reimagined with modern AI.

#### βœ… Pilot Project Overview: β€œBook Your Show” App

This is a movie/event ticket booking app that includes:

🎬 Movie Listings (from a mock or real API)

πŸ—“οΈ Showtimes and Availability

πŸ“ Location-Based Venue Selection

🎟️ Ticket Booking Flow

πŸ’³ Dummy Payment Gateway

πŸ” Search & Filter

🧾 Booking Confirmation Page

An intelligent, full-stack movie ticket booking system built with Next.js, Node.js, Flask, and OpenAI GPT-4, inspired by the functionality of BookMyShow.


πŸ“Œ Overview

An intelligent full-stack clone of BookMyShow, enhanced with cutting-edge AI features:

image


πŸš€ Features

πŸ€– AI Modules

βš™οΈ Architecture


🧩 Tech Stack

| Layer | Technology | |β€”β€”β€”β€”β€”|β€”β€”β€”β€”β€”β€”β€”β€”-| | Frontend | Next.js, Tailwind CSS | | Backend | Node.js (Express.js) | | ML Services | Python (Flask), scikit-learn, XGBoost | | Chatbot | OpenAI GPT-4 API | | Database | MongoDB (Atlas) | | Payment | Razorpay / Stripe (sandbox) | | Deployment | Vercel, Render | | DevOps | GitHub + CI/CD (optional) | |Authentication |JWT / Firebase Auth | β€”

🧠 AI Agents

Agent Name Type Function
🎬 Movie Recommender Learning Agent Suggests movies using user preferences
πŸ“Š Seat Demand Predictor Predictive Agent Forecasts seat availability for shows
πŸ” Fraud Detection Bot Reflex Agent Flags risky payment behavior
πŸ€– GPT Booking Chatbot NLP Agent Books tickets via OpenAI GPT interaction

πŸ‘‰Key Contributions:

Developed microservices using Node.js (Express) and Flask (Python)

Built ML models: Collaborative Filtering, XGBoost seat prediction, Logistic regression fraud detector

Integrated OpenAI GPT-4 API for conversational ticket booking

Implemented secure, sandboxed Razorpay payment gateway

Deployed frontend on Vercel, backend and ML services on Render

Authored README, Postman suite, and deployment docs for production readiness

Stack: Next.js Β· Node.js Β· Flask Β· MongoDB Β· Razorpay Β· OpenAI Β· Python Β· Vercel Β· Render

Image

πŸ“¦ Repository Structure

```bash /bookmyshow-ai/ β”œβ”€β”€ client/ # Next.js Frontend β”œβ”€β”€ server/ # Node.js + Express Backend β”œβ”€β”€ ai_services/ # Flask ML Microservices β”œβ”€β”€ docs/ # Redoc API Docs (GitHub Pages) β”œβ”€β”€ postman/ # Postman Collection β”œβ”€β”€ .github/ # GitHub Actions CI/CD └── README.md # You’re here!


πŸ“¦ How to Run Locally

```bash

Clone the repo

git clone https://github.com/your-username/bookmyshow-ai-clone.git cd bookmyshow-ai-clone

Start frontend

cd client npm install npm run dev

Start backend

cd ../server npm install npm run dev

Start ML APIs

cd ../ml-services pip install -r requirements.txt python app.py


🧱 App Features (Polished)

🎬 Home Page Polished movie cards with poster, genre, ratings.

Hover effects and click-to-details.

πŸ“„ Movie Details Page Showtimes by city and venue.

β€œBook Now” CTA per showtime.

🎟 Booking Page Visual seat layout.

Seat selection with availability status.

Booking form with name, contact, and show info.

βœ… Booking Confirmation Shows ticket ID, seats, movie info.

Option to β€œView My Bookings”.

🧾 My Bookings Page Shows your past tickets (linked to mock user ID).

Responsive & clean layout.

✨ UI Preview (Tailwind Based) Imagine this:

Hero section with dynamic banner slider.

Modern card grids.

Neon accent buttons.

Dark/light mode toggle (optional).

Elegant modals for booking confirmation.