-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Semver:patchRepresents bug fixes in subversionsRepresents bug fixes in subversionsType:Mediumjunior developers talksjunior developers talksurgentimmediate, do before othersimmediate, do before others
Description
Goal
Allow contributors to run cauweb locally with a synthetic data generator to demo real-time flows without backend.
Tasks
- Add
scripts/mock-ws-server.js(node) that emits price ticks, order updates, and heartbeats with adjustable seed/rate. - Add
?mock=truedev mode in frontend to auto-connect to mock server. - Add docs: how to run mock server and demo the UI (one-liners).
- Add Playwright tests that can toggle mock mode.
Acceptance criteria
- Running mock server +
npm run devshows live updating UI without backend.
Metadata
Metadata
Assignees
Labels
Semver:patchRepresents bug fixes in subversionsRepresents bug fixes in subversionsType:Mediumjunior developers talksjunior developers talksurgentimmediate, do before othersimmediate, do before others