How thegit-69/toc-capstone works
This repository is a resume-screening and hiring-management application: hiring users sign in, upload PDF resumes, review candidates, define jobs, and inspect screening scores; candidate status updates can trigger email notifications. The frontend routes users to these views, while the FastAPI backend handles uploads and hiring operations, with SQLAlchemy-backed persistence. The parser and database-operation modules are distinct internal layers. Some backend excerpts are partial, so links between API handlers and imported processing modules are supported by the source index rather than complete call-site excerpts.
Main entry points: api.py FastAPI handlers · App.jsx Application router · UploadView.jsx Resume upload · db_operations.py Database operations
Components 17
Hiring dashboard
- Application router
frontend/src/App.jsx - Login view
frontend/src/components/LoginView.jsx - Candidate review
frontend/src/components/CandidateTable.jsx - Resume upload
frontend/src/components/UploadView.jsx - Syntax animation
frontend/src/components/SyntaxTreeAnimation.jsx - Job management
frontend/src/components/JobsView.jsx - Scoring metrics
frontend/src/components/ScoringMetricsView.jsx
Backend API
- FastAPI handlers
backend/api.py
Resume processing
- PDF text extraction
backend/extractor.py - Resume parser
backend/parser_engine.py
Persistence and notifications
- Database operations
backend/db_operations.py - Hiring data models
backend/models.py - Database session
backend/database.py - Status email service
backend/email_service.py
Other components
- Hiring user
- PostgreSQL database
- Resend email service
Connections 20
- Hiring user → Application router: uses
frontend/src/App.jsx - Application router → Login view: routes to
frontend/src/App.jsx - Application router → Candidate review: routes to
frontend/src/App.jsx - Application router → Resume upload: routes to
frontend/src/App.jsx - Application router → Job management: routes to
frontend/src/App.jsx - Application router → Scoring metrics: routes to
frontend/src/App.jsx - Resume upload → Syntax animation: renders
frontend/src/components/UploadView.jsx - Resume upload → FastAPI handlers: uploads PDF
frontend/src/components/UploadView.jsx - Candidate review → FastAPI handlers: requests candidate data
frontend/src/components/CandidateTable.jsx - Job management → FastAPI handlers: manages jobs
frontend/src/components/JobsView.jsx - FastAPI handlers → PDF text extraction: extracts PDF text
backend/api.py - FastAPI handlers → Resume parser: parses resume
backend/api.py - FastAPI handlers → Database operations: saves and queries
backend/api.py - FastAPI handlers → Hiring data models: queries records
backend/api.py - FastAPI handlers → Status email service: queues status email
backend/api.py - Database operations → Hiring data models: creates records
backend/db_operations.py - Database operations → Database session: opens sessions
backend/db_operations.py - Hiring data models → Database session: uses ORM base
backend/models.py - Database session → PostgreSQL database: connects to
backend/database.py - Status email service → Resend email service: sends email
backend/email_service.py