Skip to content

Repair/realtime whiteboard - #15

Merged
ashmit-coder merged 3 commits into
masterfrom
repair/realtime-whiteboard
Nov 29, 2026
Merged

ashmit-coder merged 3 commits into
masterfrom
repair/realtime-whiteboard

Conversation

@ashmit-coder

Copy link
Copy Markdown
Owner

No description provided.

ashmit-coder and others added 2 commits November 29, 2026 23:52
- Add Express + Socket.IO server with in-memory rooms, snapshots for
  late joiners, presence, cursors, and payload validation
- Rebuild the client: landing page, shareable /board/:id boards,
  drag-to-draw shapes, pen, eraser, text, style panel, live cursors,
  avatars, connection status, PNG export, keyboard shortcuts
- Make Keycloak sign-in optional (env-configured) instead of blocking
  the app with login-required against localhost
- Fix fabric canvas init (StrictMode double-wrap), clear-all skipping
  objects, brush settings ignored outside pen mode, broken 404 route,
  /sigin typo and no-op logout
- Fix CI to run on master and build both packages; add prettier
  endOfLine config; remove unused deps and stub files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings over the useful work from origin/development (f48d796, 4810a2b,
84892a6): email/password accounts with bcrypt + JWT, the Postgres users
table migration, and sign-in / sign-up pages. Keycloak is removed, as it
was on development. The development socket/room stubs are superseded by
the room-based sync already on this branch.

- Server: /api/auth/status, /api/register, /api/login, /api/me; accounts
  are enabled only when POSTGRES_URL and SECRET_KEY are set, otherwise
  everyone joins as a guest. Proper 400/401/409 responses, lowercase
  emails, duplicate-email handling, bcryptjs (no native build)
- Socket handshake verifies the JWT so signed-in users join boards under
  their account name
- Client: restyled /signin and /signup with ?next= redirect back to the
  board, session restore via /api/me, sign in/out in landing and board
  headers; /mainpage redirects home

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
collab-lab Ready Ready Preview Nov 29, 2026 6:48pm UTC

Vercel rejects the project's 18.x setting; engines.node overrides it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ashmit-coder
ashmit-coder merged commit 5b6980e into master Nov 29, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1dbe24a5 Deployed Nov 29, 2026 by vercel[bot]
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.

1 participant