updates frontend and backend

This commit is contained in:
sriram
2026-08-11 19:11:32 +05:30
parent 77d8536941
commit dbfe347bab
11 changed files with 21 additions and 337 deletions

View File

@@ -9,6 +9,14 @@ is a fast local reference.
## Quick start
### One-click (Windows)
Double-click **`start_frontend.bat`**. It checks whether the backend is
reachable on port 8000 (just a warning, not a blocker) and starts the
Vite dev server.
### Manual
```bash
cd frontend
npm install
@@ -17,7 +25,8 @@ npm run dev
Open http://localhost:5173 - the Vite dev server proxies `/api/*` to
`http://localhost:8000` automatically (see `vite.config.js`), so make
sure the backend is running there first (`../backend/README.md`).
sure the backend is running there first (`../backend/README.md`,
`../backend/start_backend.bat`).
If your backend runs somewhere else, set `VITE_API_BASE_URL` in a local
`.env` file (copy `.env.example`) instead of relying on the proxy.