How fumikobotan15-max/showtime works
ShowTime is a movie-ticket booking application. Users sign in, set location and preferences, browse scheduled movies and showtimes, choose seats, pay, and receive a ticket; they can also manage bookings and account details. The map groups the React route stages, Express API domains, and persistence/integration layer. The README documents the end-to-end flow and payment guarantees; several backend routes and pages are indexed but not excerpted, so links not directly evidenced are omitted or marked unverified.
Main entry points: api.js API client · App.jsx Route shell · auth.js Authentication API · booking.js Booking and payments
Components 26
Booking experience
- Route shell
client/src/App.jsx - Sign-in and recovery
client/src/pages/AuthPages.jsx - Auth session
client/src/auth.jsx - Location and preferences
client/src/pages/Wizard.jsx - Movie discovery
client/src/pages/Home.jsx - Movie details
client/src/pages/Movie.jsx - Showtime selection
client/src/pages/Shows.jsx - Seat selection
client/src/pages/Seats.jsx - Checkout
client/src/pages/Checkout.jsx - Ticket and bookings
client/src/pages/Ticket.jsx - Account settings
client/src/pages/AccountSettings.jsx - API client
client/src/api.js
Application API
- Authentication API
server/routes/auth.js - Catalog API
server/routes/catalog.js - Location API
server/routes/location.js - Preferences API
server/routes/preferences.js - Booking and payments
server/routes/booking.js - Seat layout and pricing
server/services/seatLayout.js
Domain data
- MongoDB domain models
server/models/index.js - MongoDB
External services
- OAuth provider flows
server/services/oauth.js - Movie title search
server/services/tmdb.js - Razorpay
- Twilio SMS
- Nominatim geocoding
Other components
- Moviegoer
Connections 37
- Moviegoer → Route shell: uses
README.md - Route shell → Sign-in and recovery: routes to
client/src/App.jsx - Route shell → Location and preferences: routes to
client/src/App.jsx - Route shell → Movie discovery: routes to
client/src/App.jsx - Route shell → Movie details: routes to
client/src/App.jsx - Route shell → Showtime selection: routes to
client/src/App.jsx - Route shell → Seat selection: routes to
client/src/App.jsx - Route shell → Checkout: routes to
client/src/App.jsx - Route shell → Ticket and bookings: routes to
client/src/App.jsx - Route shell → Account settings: routes to
client/src/App.jsx - Route shell → Auth session: checks session
client/src/App.jsx - Sign-in and recovery → Auth session: signs in through
client/src/pages/AuthPages.jsx - Auth session → API client: requests
client/src/auth.jsx - Location and preferences → API client: requests
client/src/pages/Wizard.jsx - Movie discovery → API client: requests
client/src/pages/Home.jsx - Movie details → API client: requests
client/src/pages/Movie.jsx - Showtime selection → API client: requests
client/src/pages/Shows.jsx - Seat selection → API client: requests
client/src/pages/Seats.jsx - Checkout → API client: requests
client/src/pages/Checkout.jsx - Ticket and bookings → API client: requests
- Account settings → API client: requests
client/src/pages/AccountSettings.jsx - API client → Authentication API: calls API
- API client → Catalog API: calls API
- API client → Location API: calls API
- API client → Preferences API: calls API
- API client → Booking and payments: calls API
- Authentication API → MongoDB domain models: reads and writes
server/routes/auth.js - Authentication API → OAuth provider flows: delegates OAuth
server/routes/auth.js - Catalog API → MongoDB domain models: queries catalog
server/routes/catalog.js - Catalog API → Movie title search: searches titles
server/routes/catalog.js - Booking and payments → MongoDB domain models: reads and writes
server/routes/booking.js - Booking and payments → Seat layout and pricing: validates and prices
server/routes/booking.js - Location API → Nominatim geocoding: geocodes
- Authentication API → Twilio SMS: sends reset OTP
server/routes/auth.js - Booking and payments → Razorpay: creates and verifies payment
server/routes/booking.js - OAuth provider flows → Moviegoer: verifies identity
- MongoDB domain models → MongoDB: persists domain records