How gehadelsamadisy/collabspace works
CollabSpace is a browser-based collaborative workspace. Users register or sign in, then create and share documents or task boards; edits and task moves update other connected collaborators in real time. The graph separates the React experience, authentication and sharing, document collaboration, task management, and the Express/Socket.IO persistence layer. Server excerpts show SQL.js-backed API and socket behavior; unsampled implementation details are represented only where the README documents the capability.
Main entry points: index.js HTTP API routes · App.jsx Workspace routes
Components 14
React workspace
- Workspace routes
client/src/App.jsx
Identity and sharing
- Sign-in and registration
client/src/App.jsx - Invite collaborators
client/src/App.jsx
Document collaboration
- Document list
client/src/App.jsx - Document editor
client/src/App.jsx - Live presence
client/src/App.jsx
Task management
- Board list
client/src/App.jsx - Kanban board
client/src/App.jsx - Task editing and drag-drop
client/src/App.jsx
API and persistence
- HTTP API routes
server/index.js - Socket event handlers
server/index.js - SQL.js workspace data
server/index.js
Other components
- Team member
- Socket.IO service
Connections 23
- Team member → Workspace routes: uses
README.md - Workspace routes → Sign-in and registration: routes to
client/src/App.jsx - Sign-in and registration → HTTP API routes: authenticates via
- Workspace routes → Document list: routes to
client/src/App.jsx - Workspace routes → Document editor: routes to
client/src/App.jsx - Workspace routes → Board list: routes to
client/src/App.jsx - Workspace routes → Kanban board: routes to
client/src/App.jsx - Document list → HTTP API routes: loads documents
- Document editor → HTTP API routes: saves document
client/src/App.jsx - Document editor → Socket.IO service: emits edits
client/src/App.jsx - Document editor → Live presence: renders collaborators
client/src/App.jsx - Live presence → Socket.IO service: joins document
client/src/App.jsx - Socket.IO service → Socket event handlers: dispatches events
- Socket event handlers → SQL.js workspace data: updates tasks
server/index.js - Socket event handlers → Socket.IO service: broadcasts updates
server/index.js - Board list → HTTP API routes: loads boards
- Kanban board → HTTP API routes: loads board
- Task editing and drag-drop → HTTP API routes: updates tasks
client/src/App.jsx - Task editing and drag-drop → Socket.IO service: emits task moves
client/src/App.jsx - Kanban board → Task editing and drag-drop: handles drag-drop
client/src/App.jsx - Invite collaborators → HTTP API routes: shares workspace
- HTTP API routes → SQL.js workspace data: reads and writes
server/index.js - HTTP API routes → Socket event handlers: broadcasts changes
server/index.js