Files
cameleer-server/ui/README.md
hsiegeln 9613bddc60
Some checks failed
CI / build (push) Failing after 38s
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Has been skipped
CI / deploy (push) Has been skipped
CI / deploy-feature (push) Has been skipped
docs: add UI dev instructions and configurable API proxy target
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 17:42:17 +01:00

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
```