How shanksch/jobsa works
JobSA combines a browser extension for ATS form automation, a dashboard for career and application management, and a FastAPI service for resume processing, retrieval-grounded answers, and job matching. The main workflow is resume upload and parsing, career data indexing, then extension form detection, AI answer generation, and candidate review before submission. Dashboard CRUD and Supabase authentication are documented as direct client-to-Supabase paths. Backend route wiring and key retrieval/generation calls are evidenced; some extension and resume-parser internals were not sampled, so their links are documented or left unasserted.
Main entry points: resumes.py Resume upload and import · api.ts Dashboard data access · App.tsx Career dashboard · widget.ts ATS extension
Components 25
Candidate clients
- Career dashboard
apps/web-dashboard/src/App.tsx - Dashboard data access
apps/web-dashboard/src/lib/api.ts - Supabase client
apps/web-dashboard/src/lib/supabase.ts - ATS extension
apps/extension/src/content/widget.ts - Form detection and fill
apps/extension/src/content/fill.ts - Extension service worker
apps/extension/src/background/service-worker.ts - Application tracking
apps/web-dashboard/src/pages/ApplicationsPage.tsx - Career knowledge UI
apps/web-dashboard/src/pages/KnowledgeBasePage.tsx - Resume management UI
apps/web-dashboard/src/pages/ResumesPage.tsx
Backend workflows
- FastAPI routes
services/backend/app/main.py - Resume upload and import
services/backend/app/api/routes/resumes.py - Resume parsing
services/backend/app/services/resume_parser.py - Autofill endpoint
services/backend/app/api/routes/autofill.py - Job match endpoint
services/backend/app/api/routes/match.py - RAG answer and match engine
services/backend/app/services/rag_engine.py
Career knowledge
- Knowledge ingestion
services/backend/app/services/ingestion.py - Text chunking
services/backend/app/services/chunking.py - Text embeddings
services/backend/app/services/embeddings.py - Context retrieval
services/backend/app/services/retrieval.py
Data and AI services
- Resume file storage
services/backend/app/services/storage.py - Supabase and pgvector
- LLM routing
services/backend/app/core/llm_router.py - Gemini and Groq
- Supabase authentication
services/backend/app/core/auth.py
Other components
- Candidate
Connections 33
- Candidate → Career dashboard: manages profile
- Candidate → ATS extension: uses on ATS
- Career dashboard → Dashboard data access: loads career data
- Dashboard data access → Supabase client: uses client
apps/web-dashboard/src/lib/api.ts - Dashboard data access → Supabase and pgvector: CRUD via RLS
- Career dashboard → Supabase authentication: signs in
- ATS extension → Form detection and fill: fills fields
apps/extension/src/content/widget.ts - ATS extension → Extension service worker: dispatches actions
- ATS extension → Autofill endpoint: requests answers
- Career dashboard → Resume upload and import: uploads resume
- FastAPI routes → Resume upload and import: registers route
services/backend/app/main.py - FastAPI routes → Autofill endpoint: registers route
services/backend/app/main.py - FastAPI routes → Job match endpoint: registers route
services/backend/app/main.py - Resume upload and import → Resume parsing: parses resume
services/backend/app/api/routes/resumes.py - Resume upload and import → Resume file storage: stores file
services/backend/app/api/routes/resumes.py - Resume upload and import → Knowledge ingestion: reindexes data
services/backend/app/api/routes/resumes.py - Resume file storage → Supabase and pgvector: stores resume files
- Knowledge ingestion → Text chunking: chunks resume text
services/backend/app/services/ingestion.py - Knowledge ingestion → Text embeddings: embeds chunks
services/backend/app/services/ingestion.py - Knowledge ingestion → Supabase and pgvector: writes chunks
services/backend/app/services/ingestion.py - Autofill endpoint → RAG answer and match engine: generates answers
services/backend/app/api/routes/autofill.py - Job match endpoint → RAG answer and match engine: scores job match
services/backend/app/api/routes/match.py - RAG answer and match engine → Context retrieval: retrieves context
services/backend/app/services/rag_engine.py - Context retrieval → Text embeddings: embeds queries
services/backend/app/services/retrieval.py - Context retrieval → Supabase and pgvector: searches chunks
- RAG answer and match engine → LLM routing: requests generation
services/backend/app/services/rag_engine.py - LLM routing → Gemini and Groq: routes requests
services/backend/app/core/llm_router.py - Autofill endpoint → Supabase authentication: validates user
services/backend/app/api/routes/autofill.py - Job match endpoint → Supabase authentication: validates user
services/backend/app/api/routes/match.py - Resume upload and import → Supabase authentication: validates user
services/backend/app/api/routes/resumes.py - Application tracking → Dashboard data access: manages applications
- Career knowledge UI → Dashboard data access: edits career data
apps/web-dashboard/src/pages/KnowledgeBasePage.tsx - Resume management UI → Dashboard data access: manages resumes