Skip to content

feat(frontend): WSS client for login and market snapshots#28

Open
ShashwatAgrawal20 wants to merge 1 commit into
builder-inc:masterfrom
ShashwatAgrawal20:feat/frontend-wss
Open

feat(frontend): WSS client for login and market snapshots#28
ShashwatAgrawal20 wants to merge 1 commit into
builder-inc:masterfrom
ShashwatAgrawal20:feat/frontend-wss

Conversation

@ShashwatAgrawal20

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces the Hello World frontend with a real WSS client against the C++ backend.
  • Connect / login / subscribe / unsubscribe flow for wss://localhost:7000.
  • Renders live bid/ask levels from market/snapshot broadcasts.
  • Documents self-signed cert requirements for local browsers.

Closes #4.
Closes #5.

Test plan

  • cd frontend && npm run build
  • cd frontend && npm run lint
  • Start backend with certs, open Vite UI, connect → login (shashwat/shashwat) → subscribe, confirm book updates

Wire the React app to the backend secure WebSocket API: connect, login,
subscribe to market/snapshot, and render live bid/ask levels. Closes builder-inc#4 builder-inc#5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add WSS connection Add WSS connection

1 participant