A full-stack app for tracking job applications: a Kanban pipeline board, a dashboard with stats and charts, search/filter, and deadline/follow-up reminders — with JWT-based auth so it's multi-user.
Live app: https://jobtracker-nu-black.vercel.app
Live API: https://jobtracker-api-rkld.onrender.com (interactive docs at /docs)
The API is on Render's free tier, which spins down after 15 minutes of inactivity — the first request after a while can take ~30s to wake it up. The free Postgres database also expires 30 days after creation (Render free-tier limitation); see Redeploying after the free DB expires.
For the reasoning behind the major technical choices (JWT vs. sessions, Postgres vs. Mongo, token storage, etc.), see ARCHITECTURE.md. For the full schema and design rationale, see SCHEMA.md.
| Layer | Choice |
|---|---|
| Frontend | React 19 + TypeScript + Vite + Tailwind CSS v4 |
| State/data fetching | TanStack Query (server state) + React Context (auth) |
| Forms/validation | react-hook-form + zod |
| Kanban drag-and-drop | dnd-kit |
| Charts | Recharts |
| Backend | FastAPI (Python) |
| Database | PostgreSQL, via SQLAlchemy 2.0 + Alembic migrations |
| Auth | JWT access + refresh tokens, bcrypt password hashing |
| CI | GitHub Actions (pytest against real Postgres, frontend build) |
| Deployment | Frontend on Vercel, backend + Postgres on Render |
jobtracker/
├── backend/ FastAPI app, Alembic migrations, pytest tests
├── frontend/ Vite + React + TS app
├── docker-compose.yml Local Postgres for development
├── render.yaml Render Blueprint (backend + Postgres)
├── .github/workflows/ CI
├── SCHEMA.md Database schema + design rationale
└── ARCHITECTURE.md Key technical decisions, written for interview prep
- Node.js 20+
- Python 3.12
- Docker (for local Postgres) — or see Running without Docker
docker compose up -dThis starts Postgres on localhost:5432 (user/pass postgres/postgres, db jobtracker).
cd backend
python -m venv venv
./venv/Scripts/activate # Windows; use `source venv/bin/activate` on macOS/Linux
pip install -r requirements.txt
cp .env.example .env # defaults already match docker-compose
alembic upgrade head
uvicorn app.main:app --reload --port 8000API is now at http://localhost:8000, interactive docs at http://localhost:8000/docs.
Run tests:
pytest -vTests run against an in-memory SQLite database (see tests/conftest.py), so they don't need Postgres running.
cd frontend
npm install
cp .env.example .env # VITE_API_URL=http://localhost:8000
npm run devApp is now at http://localhost:5173.
If you don't have Docker installed, you can point the backend at a local
SQLite file instead of Postgres for quick local poking (not a supported
production target — see backend/app/database.py):
DATABASE_URL="sqlite:///./dev.db" python -c "from app.database import Base, engine; from app.models import User, Application; Base.metadata.create_all(bind=engine)"
DATABASE_URL="sqlite:///./dev.db" uvicorn app.main:app --reload --port 8000| Method | Path | Auth | Description |
|---|---|---|---|
| POST | /auth/signup |
– | Create an account, returns token pair |
| POST | /auth/login |
– | Log in, returns token pair |
| POST | /auth/refresh |
– | Exchange a refresh token for a new pair |
| GET | /auth/me |
✓ | Current user |
| GET | /applications |
✓ | List applications (filters: company, status, date_from, date_to) |
| POST | /applications |
✓ | Create an application |
| GET | /applications/{id} |
✓ | Get one application |
| PATCH | /applications/{id} |
✓ | Partially update an application |
| DELETE | /applications/{id} |
✓ | Delete an application |
| GET | /applications/reminders |
✓ | Applications with a deadline/follow-up within N days (within_days, default 7) |
| GET | /stats/overview |
✓ | Totals, status breakdown, interview/offer rate, applications-over-time |
| GET | /health |
– | Health check |
Full request/response schemas: /docs (Swagger UI) on any running instance.
See SCHEMA.md for the full column-level breakdown and the reasoning behind each design choice. Summary:
erDiagram
USERS ||--o{ APPLICATIONS : owns
USERS {
uuid id PK
string email UK
string hashed_password
string full_name
}
APPLICATIONS {
uuid id PK
uuid user_id FK
string company
string role
enum status
date applied_date
date deadline
date follow_up_date
text notes
string job_link
}
.github/workflows/ci.yml runs on every push/PR to main:
- backend: spins up a real Postgres service container, runs
alembic upgrade headagainst it, thenpytest - frontend:
npm ci+tsc -b && vite build
Both must pass before merging.
- Backend: Render, configured via
render.yaml(Blueprint) — a free web service running the FastAPI app plus a free Postgres instance. Build command runsalembic upgrade headbefore starting, so migrations apply automatically on every deploy. - Frontend: Vercel, auto-detected Vite project.
frontend/vercel.jsonadds an SPA rewrite so client-side routes survive a hard refresh.VITE_API_URLis set as a Vercel production environment variable pointing at the Render API URL.
Render's free Postgres plan deletes the database 30 days after creation. When that happens:
- Create a new free Postgres instance (or upgrade to a paid plan to avoid this).
- Update the backend service's
DATABASE_URLenv var to the new instance's internal connection string. - Redeploy the backend (
alembic upgrade headruns automatically as part of the build command and recreates the schema on the fresh database).
See backend/.env.example and frontend/.env.example for the full list.
Notably: JWT_SECRET_KEY must be a long random value in any real deployment
(generate one with python -c "import secrets; print(secrets.token_urlsafe(64))")
— render.yaml auto-generates one for the Render deploy.