An AI-assisted hiring workflow that helps teams create jobs, upload resumes, rank candidates, and generate interview questions from candidate profiles.
The platform has:
- A FastAPI backend for auth, job management, resume processing, scoring, and interview question generation
- A React + Vite frontend for the recruiter dashboard and workflow UI
- Optional Docker setup for running both services together
- Authenticates an admin user via JWT
- Creates and stores job descriptions
- Extracts job requirements from each job description
- Uploads and parses candidate resumes (
pdf,doc,docx) - Scores candidates using semantic similarity, skill match, and experience
- Ranks candidates for each job
- Generates interview questions per candidate/job pair (Gemini when configured, fallback logic otherwise)
- Python 3.11
- FastAPI + Uvicorn
- SQLAlchemy (async) + SQLite (default)
- Pydantic / pydantic-settings
- NLP/ML: spaCy, sentence-transformers, scikit-learn, numpy
- Optional LLM integration: Google Gemini
- Tooling:
uv,pytest,ruff,mypy
- React 18 + TypeScript
- Vite
- React Router
- TanStack Query
- Zustand
- Tailwind CSS
- Axios
resume-intelligence-platform/
├── backend/
│ ├── app/
│ │ ├── api/v1/endpoints/ # auth, jobs, candidates, interview endpoints
│ │ ├── core/ # config, security, database
│ │ ├── models/ # SQLAlchemy models
│ │ ├── schemas/ # request/response schemas
│ │ ├── services/ # parsing, extraction, matching, interview generation
│ │ ├── utils/ # file upload helpers
│ │ └── main.py # FastAPI app entrypoint
│ ├── tests/ # API and service tests
│ ├── .env.example # backend environment template
│ ├── Dockerfile
│ └── pyproject.toml
├── frontend/
│ ├── src/
│ │ ├── components/ # layout, pages, UI components
│ │ ├── lib/api.ts # frontend API client
│ │ ├── store/ # auth state (Zustand)
│ │ ├── App.tsx # app routes
│ │ └── main.tsx
│ ├── Dockerfile
│ ├── nginx.conf
│ ├── package.json
│ └── vite.config.ts
├── docker-compose.yml
├── Makefile
└── README.md
- Python
3.11+ - Node.js
18+(Node20recommended) - npm
uvfor Python dependency management- Docker + Docker Compose (optional for containerized run)
- Copy environment template:
cp backend/.env.example backend/.env- Update at least:
SECRET_KEY(required; use a secure random value)ADMIN_USERNAME/ADMIN_PASSWORDGEMINI_API_KEY(optional; if empty, interview generation uses fallback logic)
Default DB is SQLite:
DATABASE_URL=sqlite+aiosqlite:///./resume_intelligence.db
No dedicated frontend .env is currently required for local development.
You can run services directly, or use the Makefile.
From repository root:
make installThen start services in two terminals:
Terminal 1:
make dev-backendTerminal 2:
make dev-frontendApp URLs:
- Frontend:
http://localhost:5173 - Backend API docs:
http://localhost:8000/api/docs - Health endpoint:
http://localhost:8000/api/health
Backend:
cd backend
uv sync
uv run uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadFrontend:
cd frontend
npm install
npm run devFrom repository root:
docker compose up --build -dAccess:
- Frontend (nginx):
http://localhost:5173 - Backend:
http://localhost:8000 - API docs:
http://localhost:8000/api/docs
Stop:
docker compose downOr via Makefile:
make docker-up
make docker-logs
make docker-downBase prefix: /api/v1
POST /auth/login- admin login, returns bearer tokenPOST /jobs- create a jobGET /jobs- list jobsGET /jobs/{job_id}- get job detailsDELETE /jobs/{job_id}- delete a jobPOST /jobs/{job_id}/candidates/upload- upload candidate resumesGET /jobs/{job_id}/candidates- list candidates for a jobGET /jobs/{job_id}/candidates/rankings- ranked candidates (min_scoreoptional)POST /candidates/{candidate_id}/interview-questions- generate interview questionsGET /candidates/{candidate_id}/interview-questions- list generated question sets
All /api/v1 endpoints (except login) require Authorization: Bearer <token>.
- The frontend API client uses
/api/v1as base path. - In local development, Vite proxies
/apitohttp://localhost:8000. - If API calls fail in browser, verify backend is running on port
8000.
From repo root:
make test
make test-cov
make lint
make format
make typecheck- Start backend and frontend
- Open
http://localhost:5173 - Login with
ADMIN_USERNAMEandADMIN_PASSWORDfrombackend/.env - Create a job with detailed description
- Upload one or more resumes
- Wait for processing to complete
- Review rankings and generate interview questions
- 401 Unauthorized: token expired/invalid; log in again
- Login fails: verify
ADMIN_USERNAME/ADMIN_PASSWORDinbackend/.env - Resume processing errors: verify file type is
pdf,doc, ordocx - No interview AI output: set
GEMINI_API_KEY(fallback still works without it) - Frontend cannot reach API: ensure the backend is running on
127.0.0.1:8000(or the same host the Vite proxy uses). If you seeECONNREFUSED ::1:8000in the Vite terminal, the dev proxy targets IPv4 (127.0.0.1) to match Uvicorn—restartnpm run devafter pulling updates. - Port conflicts: change local ports in
vite.config.tsor backend run command
- Never commit
backend/.env - Replace development
SECRET_KEYin all non-local environments - Replace default admin credentials outside local development