33 lines
578 B
Markdown
33 lines
578 B
Markdown
# Cameleer3 UI
|
|
|
|
React SPA built with [@cameleer/design-system](https://gitea.siegeln.net/cameleer/design-system), TanStack Query, and Zustand.
|
|
|
|
## Development
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
By default the dev server proxies `/api/*` to `http://localhost:8081`. To proxy to a remote server instead:
|
|
|
|
```bash
|
|
VITE_API_TARGET=http://192.168.50.86:30090 npm run dev
|
|
```
|
|
|
|
No CORS issues — Vite's proxy makes API calls server-side.
|
|
|
|
## Build
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
## API Types
|
|
|
|
Regenerate TypeScript types from a running backend:
|
|
|
|
```bash
|
|
npm run generate-api:live
|
|
```
|