Skip to content

Conversation

@ADARSHsri2004
Copy link
Contributor

Description

Implemented real-time collaborative drawing using Socket.io.

  • Set up a Socket.io server in the Node.js backend.
  • Integrated Socket.io client in the React frontend.
  • Users can draw on a shared canvas, and all other users in the same room see the strokes instantly.
  • Handled multiple rooms so that drawings are isolated by room ID.
  • Events implemented: connection, disconnect, draw, join-room.
  • Ensured smooth, low-latency updates with consistent canvas state across clients.

This pull request resolves the issue of enabling real-time drawing collaboration among users.


Semver Changes

  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

Closes the issue #2 for real-time collaborative drawing with Socket.io.


Checklist

  • I have read the Contributing Guidelines
  • Tested that drawing updates are synchronized across multiple clients in the same room

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