31 lines
613 B
Markdown
31 lines
613 B
Markdown
# Apex Agent Console
|
|
|
|
Independent Vue 3 + Vite SPA for the operator console.
|
|
|
|
## Run Locally
|
|
|
|
Start the backend from the repository root:
|
|
|
|
```bash
|
|
uvicorn api.rest:create_app --factory --host 127.0.0.1 --port 8000
|
|
```
|
|
|
|
Start the frontend from this directory:
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
The frontend reads `VITE_API_BASE_URL` and defaults to `http://127.0.0.1:8000`.
|
|
Copy `.env.example` to `.env.local` if the backend runs on another host or port.
|
|
|
|
The backend mounts `/console/*` routes and enables permissive CORS in `create_app()`
|
|
for local frontend development.
|
|
|
|
## Build
|
|
|
|
```bash
|
|
npm run build
|
|
```
|