A minimal FastAPI + React + Mantine evaluation app.
- Python 3.11+
uvpackage manager (recommended)- Node.js and npm
- Initialize the project:
uv init --app- Create and activate virtual environment:
uv venv
source .venv/bin/activate- Install dependencies:
uv add -r requirements.txt- Install frontend dependencies:
cd frontend
npm installBackend:
backend.py- FastAPI server with 4 endpoints
Frontend:
index.html- Basic HTML pagesrc/main.jsx- React entry point with Mantinesrc/App.jsx- Single file with all componentspackage.json- Only essential dependenciesvite.config.js- Proxy to backend
- Start backend in a terminal window
uv run backend.py-
Start frontend in a second terminal window:
cd frontend # if not in there already npm run dev
- Lists inputs with "Evaluate" buttons
- Click to see input and documents
- Add notes and mark Good/Bad
- All data saved to SQLite
- Open the project in VSCode
- Press
Cmd + Shift + P(Mac) orCtrl + Shift + P(Windows/Linux) - Select "Python: Select Interpreter"
- Choose the
.venvenvironment from the list - Reload the window (
Cmd + Shift + P→ "Developer: Reload Window")