How bertiola/donde-vamos works
¿Dónde Vamos? is a Flask backend for discovering published events and administering event-related records. Public clients can retrieve categories and published events; administrators authenticate, then manage venue and organizer catalogs. The model layer also defines events, categories, administrators, and date-change history, though event editing and history workflows are not shown. Edges reflect the sampled Flask routes and imports; templates and deployment/database services are represented only where their use is explicit.
Main entry points: auth.py Login and sessions · app.py Flask application · catalogos.py Catalog management · database.py SQLAlchemy database
Components 18
API runtime
- Flask application
backend/app.py - Public event API
backend/app.py
Administration
- Login and sessions
backend/auth.py - Catalog management
backend/catalogos.py - Login view
backend/templates/login.html - Admin panel view
backend/templates/admin.html - Venue view
backend/templates/lugares.html - Organizer view
backend/templates/organizadores.html
Event domain
- Event records
backend/models.py - Catalog records
backend/models.py - Administrator records
backend/models.py - Date history
backend/models.py
Configuration and persistence
- SQLAlchemy database
backend/database.py - App configuration
backend/config.py
Other components
- Public client
- Administrator
- Supabase Auth
- Configured SQL database
Connections 24
- Public client → Flask application: requests routes
backend/app.py - Flask application → Public event API: serves endpoints
backend/app.py - Public event API → Event records: queries events
backend/app.py - Public event API → Catalog records: queries categories
backend/app.py - Administrator → Login and sessions: submits credentials
backend/auth.py - Login and sessions → Supabase Auth: validates identity
backend/auth.py - Login and sessions → Administrator records: checks permissions
backend/auth.py - Login and sessions → Login view: renders login
backend/auth.py - Login and sessions → Admin panel view: renders panel
backend/auth.py - Administrator → Catalog management: manages catalogs
backend/catalogos.py - Catalog management → Catalog records: reads and writes
backend/catalogos.py - Catalog management → Venue view: renders venues
backend/catalogos.py - Catalog management → Organizer view: renders organizers
backend/catalogos.py - Flask application → Login and sessions: registers blueprint
backend/app.py - Flask application → Catalog management: registers blueprint
backend/app.py - Flask application → App configuration: loads settings
backend/app.py - Flask application → SQLAlchemy database: initializes database
backend/app.py - Login and sessions → SQLAlchemy database: queries session
backend/auth.py - Catalog management → SQLAlchemy database: persists catalogs
backend/catalogos.py - Public event API → SQLAlchemy database: queries records
backend/app.py - SQLAlchemy database → Configured SQL database: connects to
- Event records → Catalog records: relates venues and categories
backend/models.py - Event records → Administrator records: references creator
backend/models.py - Event records → Date history: tracks date changes
backend/models.py