How dinatikone123/streamlit_demo1 works
This is a small Streamlit movie-ticket booking app. Users enter customer and show details, choose seats, meals, and a payment method; the app validates the input, calculates fares, saves the booking, and displays confirmation. Separate menu options search bookings, list bookings, and cancel them by updating status. The runtime is a single file, so the components below are logical responsibilities rather than separate modules. Excerpts do not show every query or the full confirmation path.
Main entry points: app.py Booking app · movie_booking.db SQLite bookings
Components 10
Booking workflow
- Booking form
app.py - Input validation
app.py - Fare calculation
app.py
Booking records
- Booking search
app.py - Booking listing
app.py - Booking cancellation
app.py - SQLite bookings
movie_booking.db
Streamlit interface
- Booking app
app.py - Booking confirmation
app.py
Other components
- Customer
Connections 13
- Customer → Booking app: uses
- Booking app → Booking form: shows
- Booking form → Input validation: submits details
- Input validation → Fare calculation: valid details
- Booking app → SQLite bookings: creates table
- Booking app → SQLite bookings: inserts booking
- Booking app → Booking confirmation: displays result
- Booking app → Booking search: dispatches search
- Booking search → SQLite bookings: reads booking
- Booking app → Booking listing: dispatches listing
- Booking listing → SQLite bookings: reads bookings
- Booking app → Booking cancellation: dispatches cancellation
- Booking cancellation → SQLite bookings: reads and updates