How dantenovoa151-pixel/tp-fullstack-peluqueria-dante works
This is a Spanish-language hair-salon appointment manager: users filter, create, edit, and delete appointments in a browser; the frontend sends HTTP requests to a FastAPI backend, which validates data and uses SQLite for persistence. The graph follows the shown frontend controller, API client, route handlers, manager, and database layers. The README is empty, and HTML wiring and other unsampled frontend behavior are not asserted.
Main entry points: main.py Appointment routes · main.js Appointment controller · api.js HTTP API client · managers.py Appointment operations
Components 9
Browser app
- Appointment controller
frontend/js/main.js - Forms and appointment UI
frontend/js/ui.js - HTTP API client
frontend/js/api.js
API and validation
- Appointment routes
backend/main.py - Appointment schemas
backend/models.py
Appointment storage
- Appointment operations
backend/managers.py - SQLite connection setup
backend/database.py - Appointments database
turnos.db
Other components
- User
Connections 9
- Appointment controller → HTTP API client: requests
frontend/js/main.js - Appointment controller → Forms and appointment UI: updates
frontend/js/main.js - HTTP API client → Appointment routes: HTTP requests
frontend/js/api.js - Appointment routes → Appointment operations: dispatches
backend/main.py - Appointment routes → SQLite connection setup: opens connection
backend/main.py - Appointment routes → Appointment schemas: validates with
backend/main.py - Appointment operations → Appointments database: reads and writes
backend/managers.py - SQLite connection setup → Appointments database: creates table
backend/database.py - User → Appointment controller: uses