How supra423/cinema-booking-registration-form-mob-prog-act works
This is an Expo Router cinema-booking app. Its customer-facing flow presents movies, opens movie details, supports ticket selection and payment, and includes login, registration, and profile screens. Administrators manage the movie catalogue and screening schedules; cinema and showtime data are modeled separately from movies. The excerpts show the home-to-catalogue data path and several admin-to-storage calls. Other screen-to-screen navigation and unsampled implementations are represented only where the tree supports a distinct capability; their wiring is not assumed.
Main entry points: movieStorage.jsx Movie storage · Button.jsx Button · (admin)/index.jsx Admin dashboard · (tabs)/index.jsx Home tab
Components 27
Customer experience
- Home tab
app/(tabs)/index.jsx - Movie carousel
src/components/showingContents.jsx - Movie catalogue
app/(tabs)/movieCatalogue.jsx - Movie details
app/ViewMovie.jsx - Screening schedule
app/ScheduleScreen.jsx - Ticket selection
app/TicketSelectionScreen.jsx - Payment
app/PaymentScreen.jsx - Login
app/LoginScreen.jsx - Registration
app/RegisterScreen.jsx - Customer profile
app/(tabs)/profile.jsx - Profile update
app/UpdateProfileScreen.jsx - Password change
app/ChangePasswordScreen.jsx
Cinema administration
- Admin dashboard
app/(admin)/index.jsx - Add movie
app/(admin)/add-movie.jsx - Movie management
app/AdminMovieManagementScreen.jsx - Showtime management
app/(admin)/showtimes.jsx - Booking admin
app/(admin)/booking.jsx - Admin profile
app/(admin)/adminProfile.jsx
Cinema data
- Movie storage
src/services/movieStorage.jsx - Movie model
src/models/movie.jsx - Showtime storage
src/services/showtimeStorage.jsx - Cinema data
src/models/cinema.jsx
Shared UI
- Style system
src/Styles.jsx - Button
src/components/Button.jsx - Header
src/components/Header.jsx - Runtime picker
src/components/RuntimeClock.jsx
Other components
- Customer
Connections 33
- Customer → Home tab: opens app
- Home tab → Movie storage: loads movies
app/(tabs)/index.jsx - Home tab → Movie storage: fetches and saves
app/(tabs)/index.jsx - Home tab → Movie carousel: renders
app/(tabs)/index.jsx - Movie carousel → Style system: uses styles
src/components/showingContents.jsx - Movie catalogue → Movie storage: loads movies
app/(tabs)/movieCatalogue.jsx - Movie details → Movie storage: loads movies
app/ViewMovie.jsx - Ticket selection → Movie storage: loads movies
app/TicketSelectionScreen.jsx - Screening schedule → Movie storage: loads movies
app/ScheduleScreen.jsx - Screening schedule → Showtime storage: uses showtimes
app/ScheduleScreen.jsx - Screening schedule → Cinema data: uses cinema data
app/ScheduleScreen.jsx - Ticket selection → Payment: continues to payment
- Login → Movie details: returns to movie
- Registration → Customer profile: continues to profile
- Customer profile → Profile update: opens editor
- Customer profile → Password change: opens password change
- Admin dashboard → Movie storage: loads and saves
app/(admin)/index.jsx - Admin dashboard → Movie storage: fetches catalogue
app/(admin)/index.jsx - Add movie → Movie storage: loads and saves
app/(admin)/add-movie.jsx - Add movie → Runtime picker: renders picker
app/(admin)/add-movie.jsx - Showtime management → Movie storage: uses movie storage
app/(admin)/showtimes.jsx - Showtime management → Cinema data: uses cinema data
app/(admin)/showtimes.jsx - Showtime management → Showtime storage: uses showtime storage
app/(admin)/showtimes.jsx - Movie management → Movie storage: uses movie storage
app/AdminMovieManagementScreen.jsx - Movie storage → Movie model: normalizes movies
src/services/movieStorage.jsx - Button → Style system: uses styles
src/components/Button.jsx - Header → Style system: uses styles
src/components/Header.jsx - Admin dashboard → Runtime picker: uses picker
app/(admin)/index.jsx - Admin dashboard → Style system: uses styles
app/(admin)/index.jsx - Admin profile → Button: uses button
app/(admin)/adminProfile.jsx - Customer profile → Button: uses button
app/(tabs)/profile.jsx - Registration → Button: uses button
app/RegisterScreen.jsx - Profile update → Button: uses button
app/UpdateProfileScreen.jsx