thalos-web/docs/runbooks/local-development.md
2026-03-08 16:01:13 -06:00

36 lines
472 B
Markdown

# Local Development
## Install
```bash
npm install
```
## Run
```bash
VITE_API_BASE_URL=http://localhost:8080 \
VITE_THALOS_AUTH_BASE_URL=http://localhost:20080 \
npm run dev
```
## Auth Model
- Login is executed against Thalos session endpoints.
- Business calls are gated behind session checks.
- Session cookies are sent with `credentials: include`.
## Build
```bash
npm run build
```
## Test
```bash
npm run test:ci
```
See also: `docs/runbooks/testing.md`