How wilsonkayke/frontbarber90- works
This is a full-stack barbershop queue and appointment system. Customers register or sign in, book a service and barber, and view appointment/queue status; staff manage service order and complete appointments, while administrators manage operations and view reports. The graph includes documented reporting, barber, and service capabilities. Edges reflect shown imports, calls, or README statements; where source was not sampled, relationships are omitted or documented at the broader level rather than inferred.
Main entry points: admin_routes.py Queue and Service Control · main.py API Router · mongo_connection.py MongoDB · auth_routes.py Authentication API
Components 20
Customer and Staff UI
- Registration
frontend/src/components/Cadastro/CadastroForms.jsx - Login
frontend/src/components/Login/LoginForms.jsx - Appointment UI
frontend/src/app/agenda/page.jsx - Queue UI
frontend/src/components/Fila/FilaForms.jsx - Admin Dashboard
frontend/src/app/admin/page.jsx - Report Views
frontend/src/components/admin/Relatorio.jsx
FastAPI Application
- API Router
backend/app/main.py - Client API
backend/app/routes/client_routes.py - Request Schemas
backend/app/schemas - MongoDB
backend/app/db/mongo_connection.py
Identity and Access
- Authentication API
backend/app/routes/auth_routes.py - Token Access Checks
backend/app/dependencies/auth.py - JWT Utilities
backend/app/utils/jwt_handler.py
Appointments and Queue
- Appointment API
backend/app/routes/agendamento_routes.py - Queue and Service Control
backend/app/routes/admin_routes.py - Barber API
backend/app/routes/barbeiro_routes.py - Service API
backend/app/routes/servico_routes.py
Administration and Reports
- Report Aggregation
backend/app/services/relatorio_service.py
Other components
- Customer
- Barber / Admin
Connections 32
- Customer → Registration: registers
README.md - Customer → Login: signs in
README.md - Customer → Appointment UI: books
README.md - Customer → Queue UI: views queue
README.md - Barber / Admin → Admin Dashboard: manages service
README.md - Appointment UI → Appointment API: requests status and booking
frontend/src/app/agenda/page.jsx - Admin Dashboard → Queue and Service Control: calls and completes
frontend/src/app/admin/page.jsx - Admin Dashboard → Report Views: renders reports
- API Router → Client API: registers route
backend/app/main.py - API Router → Authentication API: registers route
backend/app/main.py - API Router → Appointment API: registers route
backend/app/main.py - API Router → Queue and Service Control: registers route
backend/app/main.py - API Router → Service API: registers route
backend/app/main.py - API Router → Barber API: registers route
backend/app/main.py - Client API → MongoDB: reads and writes
backend/app/routes/client_routes.py - Authentication API → MongoDB: reads and writes
backend/app/routes/auth_routes.py - Authentication API → JWT Utilities: creates and verifies tokens
backend/app/routes/auth_routes.py - Authentication API → Token Access Checks: uses access checks
- Appointment API → MongoDB: reads and writes
backend/app/routes/agendamento_routes.py - Appointment API → Token Access Checks: checks user
backend/app/routes/agendamento_routes.py - Queue and Service Control → MongoDB: reads and updates
backend/app/routes/admin_routes.py - Queue and Service Control → Token Access Checks: checks user
backend/app/routes/admin_routes.py - Barber API → MongoDB: reads and writes
backend/app/routes/barbeiro_routes.py - Service API → MongoDB: reads and writes
backend/app/routes/servico_routes.py - Appointment API → Request Schemas: validates input
backend/app/routes/agendamento_routes.py - Client API → Request Schemas: validates input
backend/app/routes/client_routes.py - Queue and Service Control → Report Aggregation: uses report aggregation
backend/app/routes/admin_routes.py - Report Aggregation → MongoDB: aggregates appointments
backend/app/services/relatorio_service.py - Queue UI → Queue and Service Control: manages queue
- Registration → Client API: submits registration
- Login → Authentication API: submits credentials
- Report Views → Queue and Service Control: requests reports