One search across 11 UK job boards. Claude reads your CV, scores every vacancy against it and writes the cover letter.
I built SearchWork for my own graduate job search. Job boards each show a slice of the market, most "graduate" listings are not, and reading a hundred adverts to find the ten that fit is slow. SearchWork asks all the boards at once, drops what I can't apply for and ranks the rest by how well they match my CV.
Screenshots and the GIF use a fictional demo profile and made-up companies.
flowchart TB
Q["GET /jobs · query + cities"] --> A1 & A2 & A3
subgraph F["11 sources × every city, in parallel"]
A1["Adzuna · Reed · JSearch"]
A2["Remotive · WeWorkRemotely<br/>Jobicy · Arbeitnow"]
A3["Gradcracker · Totaljobs<br/>CWJobs · Prospects"]
end
A1 & A2 & A3 --> D["Deduplicate by external_id + source"]
D --> X["Filter in code<br/>UK only · junior titles · no clearance or citizenship requirement"]
X --> S["Claude scores each job against the CV, in parallel"]
CV[("PostgreSQL<br/>parsed CV profile")] -.-> S
S --> R["Sorted by match %, with matched and missing skills"]
- One failing source never breaks a search. Every source runs under
asyncio.gather(..., return_exceptions=True); a source that errors is logged and skipped. - Filters run in code, not in the prompt. Senior titles, non-UK locations and adverts that require security clearance or British citizenship are removed before anything is sent to Claude, so no tokens are spent on jobs I can't apply for.
- Rate limited.
/jobsis limited to 10 requests a minute per client with slowapi, because one search can mean hundreds of upstream calls.
| Layer | Tech |
|---|---|
| Frontend | Next.js 16 (App Router), React 19, TypeScript, Tailwind CSS 4, Framer Motion, Spline 3D |
| Backend | FastAPI, SQLAlchemy 2.0 async, Pydantic v2, slowapi |
| Database | PostgreSQL 16 (asyncpg) |
| AI | Claude API: CV parsing, match scoring, CV review, cover letters |
| Auth | JWT (PyJWT) + Google OAuth 2.0, bcrypt; access token in memory, refresh token in an httpOnly cookie |
| Tests and CI | pytest (backend), type-check and build (frontend), Playwright mobile layout tests; GitHub Actions on every push |
| Deployment | Vercel (frontend), Railway (backend + PostgreSQL) |
Project structure
SearchWork/
├── frontend/
│ ├── app/ # Next.js pages + route layouts (metadata)
│ │ ├── applications/
│ │ ├── auth/callback/
│ │ ├── cv/
│ │ ├── login/
│ │ └── search/
│ ├── components/
│ │ ├── applications/ # ApplicationRow, StatusTabs
│ │ ├── cv/ # UploadZone, SkillsDisplay, CvReview
│ │ ├── dashboard/ # StatsRow
│ │ ├── layout/ # Navbar, RobotBackground
│ │ ├── search/ # JobCard, SearchBar
│ │ └── ui/ # ErrorBoundary, Toast, Skeleton, CoverLetterModal, …
│ ├── lib/ # api.ts, auth-context.tsx, constants.ts, search-store.ts
│ └── tests/mobile/ # Playwright layout tests
├── backend/
│ ├── routers/ # auth_router, applications, cv, jobs
│ ├── services/ # ai_service, cv_parser and one module per job source
│ ├── tests/ # pytest
│ ├── models.py # SQLAlchemy models
│ ├── schemas.py # Pydantic schemas
│ └── auth.py # JWT helpers
├── docs/media/ # README screenshots and GIF
└── docker-compose.yml # Local PostgreSQL
You need: Python 3.11+, Node.js 20+, Docker Desktop, and API keys for Anthropic, Adzuna and Reed (JSearch is optional).
Database (from the repo root)
POSTGRES_PASSWORD=postgres docker compose up -d # PostgreSQL 16 on localhost:5432Backend
cd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env # fill in your keys
uvicorn main:app --reloadThe API runs on http://localhost:8000, with Swagger UI at /docs and LLM-readable docs at /llms.txt.
Frontend
cd frontend
npm install
cp .env.local.example .env.local # NEXT_PUBLIC_API_URL=http://localhost:8000
npm run devOpen http://localhost:3000.
Tests
cd backend && python -m pytest -q
cd frontend && npm run test:mobileEnvironment variables
backend/.env
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/searchwork
SECRET_KEY=your-secret-key-min-32-chars
ANTHROPIC_API_KEY=sk-ant-...
ADZUNA_APP_ID=
ADZUNA_APP_KEY=
REED_API_KEY=
RAPIDAPI_KEY= # for JSearch
ALLOWED_ORIGINS=http://localhost:3000
FRONTEND_URL=http://localhost:3000
GOOGLE_CLIENT_ID= # optional, enables Google OAuth
GOOGLE_CLIENT_SECRET= # optional
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/google/callback
ENV=development # removes the Secure flag from cookies locallyfrontend/.env.local
NEXT_PUBLIC_API_URL=http://localhost:8000Full machine-readable docs are served by the API at /llms.txt, and Swagger UI is at /docs.
| Method | Path | Description |
|---|---|---|
POST |
/auth/register |
Create an account |
POST |
/auth/login |
Email and password login |
POST |
/auth/refresh |
Rotate the refresh token |
GET |
/auth/google/url |
Start the Google OAuth flow |
GET |
/cv |
Fetch the parsed CV profile |
POST |
/cv |
Upload and analyse a CV (PDF) |
POST |
/cv/review |
Full ATS review for a target role |
POST |
/cv/cover-letter |
Generate (or fetch the cached) cover letter |
GET |
/jobs?q=&locations= |
Search and AI-score jobs across all sources |
GET |
/applications |
List saved applications |
POST |
/applications |
Save a job as an application |
PATCH |
/applications/{id} |
Update an application's status |
DELETE |
/applications/{id} |
Remove an application |
- Async SQLAlchemy in production:
AsyncSession,selectinloadand avoidingMissingGreenleterrors that only show up at runtime. - Claude for structured extraction: prompts for skills, scoring and review that return parseable data rather than chat.
- Aggregating 11 inconsistent APIs: different auth methods, salary fields and rate limits normalised into one schema, with partial failure as the normal case.
- Deployment across two platforms: Vercel and Railway, cross-site cookies (
SameSite=Nonein production) and CORS between them. - XSS-safe auth: the access token lives in a module-level variable instead of localStorage; the refresh token is in an httpOnly cookie.
- Accessibility: combobox keyboard navigation, focus traps, skip links,
aria-liveregions androle="tab"patterns.





