How tambynifa/suivi-performance works
This is an academic-tracking application: staff can manage users, academic structures, registrations, evaluations and grades, then review dashboard summaries. The React interface routes users to domain pages, loads lists and submits CRUD operations through a shared API client; FastAPI handlers validate and persist records through SQLAlchemy. Prediction and settings screens are present in the frontend, and prediction-related models exist, but the sampled backend entry point does not register a prediction route. Edges reflect excerpts, source-index references or README evidence; unsampled details are not assumed.
Main entry points: main.py FastAPI application · dependencies.py Session dependency · inscriptions.py Registration endpoints · notes.py Grade endpoints
Components 27
Web interface
- Page routing
frontend/src/App.jsx - Navigation config
frontend/src/config/navigation.js - Dashboard
frontend/src/pages/Dashboard.jsx - CRUD interface
frontend/src/components/CrudPage.jsx - List loading
frontend/src/hooks/useListe.js - API client
frontend/src/services/api.js - Predictions screen
frontend/src/pages/Predictions.jsx - Settings screen
frontend/src/pages/Parametres.jsx
API service
- FastAPI application
backend/app/main.py - Domain endpoints
backend/app/api/routes - Registration endpoints
backend/app/api/routes/inscriptions.py - Grade endpoints
backend/app/api/routes/notes.py - Evaluation endpoints
backend/app/api/routes/evaluations.py - Academic structure endpoints
backend/app/api/routes/parcours.py - Subject endpoints
backend/app/api/routes/matieres.py - User endpoints
backend/app/api/routes/utilisateurs.py - Session dependency
backend/app/api/dependencies.py
Academic data
- Academic models
backend/app/models - User model
backend/app/models/utilisateur.py - Registration model
backend/app/models/inscription.py - Grade model
backend/app/models/note.py - Evaluation model
backend/app/models/evaluation.py - Pathway model
backend/app/models/parcours.py - Prediction model
backend/app/models/prediction.py - Database sessions
backend/app/db/database.py
Other components
- Staff user
- PostgreSQL
Connections 32
- Staff user → Page routing: uses
- Page routing → Navigation config: resolves page
frontend/src/App.jsx - Page routing → Dashboard: renders
frontend/src/App.jsx - Page routing → CRUD interface: routes pages
- Dashboard → List loading: loads lists
frontend/src/pages/Dashboard.jsx - Dashboard → API client: checks status
frontend/src/pages/Dashboard.jsx - CRUD interface → List loading: loads records
frontend/src/components/CrudPage.jsx - CRUD interface → API client: calls operations
frontend/src/components/CrudPage.jsx - API client → FastAPI application: HTTP requests
frontend/src/services/api.js - FastAPI application → Database sessions: creates tables
backend/app/main.py - FastAPI application → Domain endpoints: registers routers
backend/app/main.py - FastAPI application → Registration endpoints: registers
backend/app/main.py - FastAPI application → Grade endpoints: registers
backend/app/main.py - FastAPI application → Evaluation endpoints: registers
backend/app/main.py - FastAPI application → Academic structure endpoints: registers
backend/app/main.py - FastAPI application → Subject endpoints: registers
backend/app/main.py - FastAPI application → User endpoints: registers
backend/app/main.py - Registration endpoints → Session dependency: requests session
backend/app/api/routes/inscriptions.py - Grade endpoints → Session dependency: requests session
backend/app/api/routes/notes.py - Registration endpoints → Registration model: queries and writes
backend/app/api/routes/inscriptions.py - Registration endpoints → User model: checks student
backend/app/api/routes/inscriptions.py - Registration endpoints → Pathway model: checks pathway
backend/app/api/routes/inscriptions.py - Grade endpoints → Grade model: queries and writes
backend/app/api/routes/notes.py - Grade endpoints → Evaluation model: checks evaluation
backend/app/api/routes/notes.py - Grade endpoints → User model: checks user
backend/app/api/routes/notes.py - Evaluation endpoints → Session dependency: requests session
backend/app/api/routes/evaluations.py - Academic structure endpoints → Session dependency: requests session
backend/app/api/routes/parcours.py - Subject endpoints → Session dependency: requests session
backend/app/api/routes/matieres.py - User endpoints → Session dependency: requests session
backend/app/api/routes/utilisateurs.py - Session dependency → Database sessions: opens session
backend/app/api/dependencies.py - Academic models → Database sessions: uses base
backend/app/models/utilisateur.py - Database sessions → PostgreSQL: connects
backend/app/db/database.py