customer-orders-web/docs/runbooks/local-development.md
2026-03-31 16:56:26 -06:00

926 B

Local Development

Install

npm install

Run

VITE_API_BASE_URL=http://localhost:8080 \
VITE_THALOS_AUTH_BASE_URL=http://localhost:20080 \
VITE_THALOS_DEFAULT_RETURN_URL=http://localhost:23180/status \
VITE_THALOS_DEFAULT_TENANT_ID=demo-tenant \
npm run dev

Auth Model

  • Login is executed via central Thalos OIDC start endpoint.
  • Business calls are gated behind session checks.
  • Session cookies are sent with credentials: include.
  • Workflow calls that return 401 trigger session revalidation and then guide the user back to central login.

Available Screens

  • /status: current order status, selected order detail, history, and recent events
  • /submit: customer order submission and recent submission results
  • /session: current Thalos session profile payload

Build

npm run build

Test

npm run test:ci

See also: docs/runbooks/testing.md