How gastonroberti12/get_notas works
Cine Paradiso is a cinema-booking application: customers browse films and showtimes, select seats, create a reservation, pay, and receive ticket/QR confirmation; administrators manage cinema operations and view statistics. The Flask frontend calls a separate Flask API, whose routes delegate domain work to services and repositories backed by MySQL. The README also documents reviews, concessions, entry validation, and OMDb lookup. Some subsystems are represented by their exact directories because their implementation was not sampled; those relationships are omitted unless documented or visible.
Main entry points: db.py Database access · backend/app.py API application · reservas.py Booking routes · frontend/app.py Web app
Components 32
Customer and admin web
- Web app
frontend/app.py - Film catalog
frontend/routes/products.py - Booking checkout
frontend/routes/purchases.py - Backoffice
frontend/routes/backoffice/backoffice.py - Session roles
frontend/routes/roles.py - Profile formatting
frontend/datos_perfil.py - Branch context
frontend/sucursales.py - API client
frontend/api_cliente.py
Backend API
- API application
backend/app.py - Film routes
backend/cine_fuente/routes/peliculas.py - Booking routes
backend/cine_fuente/routes/reservas.py - Showtime routes
backend/cine_fuente/routes/funciones.py - Other API routes
backend/cine_fuente/routes
Cinema operations
- Reservation service
backend/cine_fuente/services/reservas.py - Security service
backend/cine_fuente/services/seguridad.py - Request validators
backend/cine_fuente/validators - Notifications
backend/cine_fuente/services/notificaciones_service.py - QR generation
backend/cine_fuente/services/qr_service.py - Reservation expiry
backend/cine_fuente/scheduler.py - OMDb integration
backend/cine_fuente/services/omdb_service.py
Persistence and integrations
- Repositories
backend/cine_fuente/repositories - Database access
backend/cine_fuente/db.py - MySQL database
- OMDb
- SMTP email
- Film repository
backend/cine_fuente/repositories/peliculas.py - Reservation repository
backend/cine_fuente/repositories/reservas.py - Seat repository
backend/cine_fuente/repositories/butacas.py - User repository
backend/cine_fuente/repositories/usuarios.py - Statistics repository
backend/cine_fuente/repositories/estadisticas.py
Other components
- Customer
- Administrator
Connections 37
- Customer → Web app: uses
README.md - Administrator → Web app: uses
README.md - Web app → Film catalog: registers
frontend/app.py - Web app → Booking checkout: registers
frontend/app.py - Web app → Backoffice: registers
frontend/app.py - Film catalog → API client: calls
frontend/routes/products.py - Booking checkout → API client: calls
frontend/routes/purchases.py - Film catalog → Branch context: reads context
frontend/routes/products.py - Backoffice → API client: calls
frontend/routes/backoffice/backoffice.py - Backoffice → Session roles: checks role
frontend/routes/backoffice/backoffice.py - Booking checkout → Session roles: checks login
frontend/routes/purchases.py - Booking checkout → Profile formatting: formats values
frontend/routes/purchases.py - API client → API application: HTTP requests
README.md - API application → Film routes: registers
backend/app.py - API application → Booking routes: registers
backend/app.py - API application → Showtime routes: registers
backend/app.py - API application → Other API routes: registers
backend/app.py - Film routes → Film repository: reads and writes
backend/cine_fuente/routes/peliculas.py - Film routes → OMDb integration: queries
backend/cine_fuente/routes/peliculas.py - Film routes → Request validators: validates with
backend/cine_fuente/routes/peliculas.py - Booking routes → Reservation service: delegates
backend/cine_fuente/routes/reservas.py - Booking routes → Notifications: requests notices
backend/cine_fuente/routes/reservas.py - Booking routes → Security service: checks access
backend/cine_fuente/routes/reservas.py - Booking routes → Request validators: validates with
backend/cine_fuente/routes/reservas.py - Showtime routes → Reservation service: uses
backend/cine_fuente/routes/funciones.py - Showtime routes → Seat repository: queries seats
backend/cine_fuente/routes/funciones.py - Showtime routes → Reservation repository: queries reservations
backend/cine_fuente/routes/funciones.py - Reservation expiry → Reservation service: expires reservations
backend/cine_fuente/scheduler.py - Notifications → QR generation: generates codes
backend/cine_fuente/services/notificaciones_service.py - Notifications → SMTP email: sends email
backend/cine_fuente/services/notificaciones_service.py - OMDb integration → OMDb: searches
README.md - Film repository → Database access: queries
backend/cine_fuente/repositories/peliculas.py - Reservation repository → Database access: queries
- Seat repository → Database access: queries
- User repository → Database access: queries
backend/cine_fuente/repositories/usuarios.py - Statistics repository → Database access: queries
- Database access → MySQL database: reads and writes
backend/cine_fuente/db.py