How didenamine/trust_ai works
TrustAI is presented as a web app for analyzing CVs and job offers, scoring compatibility, and explaining the score. The implemented workflow visible here is narrower: a visitor opens the React app, its home page checks the backend health endpoint, and the API returns health status. The sampled code shows app setup, routing, configuration, and database-session infrastructure, but no CV-analysis or matching implementation. Those advertised capabilities should not be read as implemented runtime stages. The graph reflects only relationships supported by excerpts or the README; database use by routes and AI integrations are not shown.
Main entry points: App.tsx App routes · main.tsx Web entry · HomePage.tsx Home page · main.py API app
Components 14
Web client
- Web entry
frontend/src/main.tsx - App routes
frontend/src/App.tsx - Page layout
frontend/src/components/Layout.tsx - Home page
frontend/src/pages/HomePage.tsx - Not found
frontend/src/pages/NotFoundPage.tsx - Query client
frontend/src/lib/queryClient.ts - API client
frontend/src/lib/api.ts
API service
- API app
backend/app/main.py - API router
backend/app/api/router.py - Health route
backend/app/api/routes/health.py
Configuration and data
- Settings
backend/app/core/config.py - DB session
backend/app/db/session.py
Other components
- Visitor
- PostgreSQL
Connections 13
- Visitor → Web entry: opens
- Web entry → App routes: renders
frontend/src/main.tsx - Web entry → Query client: provides
frontend/src/main.tsx - App routes → Page layout: wraps pages
frontend/src/App.tsx - App routes → Home page: routes to
frontend/src/App.tsx - App routes → Not found: routes to
frontend/src/App.tsx - Home page → API client: calls
frontend/src/pages/HomePage.tsx - Home page → Health route: requests health
frontend/src/pages/HomePage.tsx - API app → Settings: loads
backend/app/main.py - API app → API router: mounts
backend/app/main.py - API router → Health route: registers
backend/app/api/router.py - DB session → Settings: loads
backend/app/db/session.py - DB session → PostgreSQL: connects to
backend/app/db/session.py