updates frontend and backend
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user