Get Answers from a Youtube video with references.
- Node.js (v18 or higher)
- Python (v3.13 or higher)
- uv (Python package manager) - Install from uv docs
-
Install all dependencies:
npm run install:all
-
Start the server (FastAPI):
npm run dev:server
Server runs at http://127.0.0.1:8000
-
Start the client (React/Vite) in a new terminal:
npm run dev:client
Client runs at http://localhost:3000
| Command | Description |
|---|---|
npm run dev:server |
Start FastAPI server with hot reload |
npm run dev:client |
Start React client with Vite dev server |
npm run install:all |
Install dependencies for root, client, and server |
npm run lint |
Lint both client (Biome) and server (Ruff) |
npm run format |
Format both client and server code |
yt-chat/
├── client/ # React frontend (Vite + TanStack Router)
├── server/ # FastAPI backend (Python)
├── package.json # Root development scripts
└── README.md # This file
- Run both services in separate terminals for full-stack development
- The server uses
uv runwhich automatically handles Python virtual environment - Client hot-reloads on changes via Vite
- Server hot-reloads on changes via FastAPI dev mode