How bhanuprakashpeddi-1432/collaborative-task-manager works
WorkCollab is a collaborative task-management application. The primary workflow is members entering a workspace, opening a project board, then creating, filtering, moving, and editing tasks; comments and presence support coordination. The graph preserves authentication, workspace/project management, task operations, reporting, and realtime collaboration. Several frontend and backend subsystems are represented from the tree and README, but their internal wiring was not sampled, so those links are omitted rather than inferred.
Main entry points: api.ts HTTP API client · KanbanBoard.tsx Kanban board · WorkspaceController.java Workspace API · App.tsx WorkCollab UI
Components 32
Web application
- WorkCollab UI
frontend/src/App.tsx - Sign in / register
frontend/src/pages/Login.tsx - Workspace view
frontend/src/pages/Workspace.tsx - Kanban board
frontend/src/components/board/KanbanBoard.tsx - Task details
frontend/src/components/board/TaskDetailsModal.tsx - Reports dashboard
frontend/src/components/board/ReportsDashboard.tsx - Presence avatars
frontend/src/components/board/PresenceAvatars.tsx - Drag handling
frontend/src/hooks/useKanbanDrag.ts - Board WebSocket
frontend/src/hooks/useBoardWebSocket.ts - HTTP API client
frontend/src/lib/api.ts - Auth state
frontend/src/store/useAuthStore.ts
Identity and access
- Authentication API
src/main/java/com/workcollab/controller/AuthController.java - JWT security
src/main/java/com/workcollab/security/JwtAuthenticationFilter.java - User lookup
src/main/java/com/workcollab/security/CustomUserDetailsService.java - Refresh tokens
src/main/java/com/workcollab/service/RefreshTokenService.java
Workspace and projects
- Workspace API
src/main/java/com/workcollab/controller/WorkspaceController.java - Project API
src/main/java/com/workcollab/controller/ProjectController.java - Project persistence
src/main/java/com/workcollab/repository/ProjectRepository.java - Membership persistence
src/main/java/com/workcollab/repository/WorkspaceMemberRepository.java
Task management
- Task API
src/main/java/com/workcollab/controller/TaskController.java - Task operations
src/main/java/com/workcollab/service/TaskServiceImpl.java - Task filtering
src/main/java/com/workcollab/repository/TaskSpecification.java - Task persistence
src/main/java/com/workcollab/repository/TaskRepository.java
Live collaboration
- Comments and mentions
src/main/java/com/workcollab/controller/CommentController.java - Presence API
src/main/java/com/workcollab/controller/PresenceController.java - Activity API
src/main/java/com/workcollab/controller/ActivityController.java - WebSocket setup
src/main/java/com/workcollab/config/WebSocketConfig.java - Redis publisher
src/main/java/com/workcollab/collaboration/RedisCollaborationPublisher.java - Redis subscriber
src/main/java/com/workcollab/collaboration/RedisCollaborationSubscriber.java
Other components
- Team member
- Redis Pub/Sub
- Relational database
Connections 45
- Team member → WorkCollab UI: uses
README.md - WorkCollab UI → Sign in / register: routes to
- WorkCollab UI → Workspace view: routes to
- Sign in / register → HTTP API client: requests
- Sign in / register → Auth state: updates state
- Workspace view → HTTP API client: requests
- Workspace view → Kanban board: shows
- Kanban board → Drag handling: uses
- Kanban board → Task details: opens
- Kanban board → Reports dashboard: shows
- Kanban board → Board WebSocket: subscribes
- Kanban board → Presence avatars: shows
- Task details → HTTP API client: requests
- Board WebSocket → Presence avatars: updates
- HTTP API client → Authentication API: HTTP requests
- HTTP API client → Workspace API: HTTP requests
- HTTP API client → Project API: HTTP requests
- HTTP API client → Task API: HTTP requests
- HTTP API client → Comments and mentions: HTTP requests
- HTTP API client → Presence API: HTTP requests
- HTTP API client → Activity API: HTTP requests
- Authentication API → Refresh tokens: manages tokens
- JWT security → User lookup: loads users
- User lookup → Relational database: reads users
- Refresh tokens → Relational database: stores tokens
src/main/java/com/workcollab/service/RefreshTokenService.java - Workspace API → Membership persistence: checks membership
src/main/java/com/workcollab/controller/WorkspaceController.java - Workspace API → Project persistence: reads projects
src/main/java/com/workcollab/controller/WorkspaceController.java - Workspace API → Relational database: persists workspace data
- Project API → Membership persistence: checks membership
src/main/java/com/workcollab/controller/ProjectController.java - Project API → Project persistence: saves projects
src/main/java/com/workcollab/controller/ProjectController.java - Project persistence → Relational database: reads/writes
- Membership persistence → Relational database: reads/writes
- Task API → Task operations: dispatches
src/main/java/com/workcollab/controller/TaskController.java - Task operations → Task filtering: filters tasks
- Task operations → Task persistence: reads/writes tasks
- Task filtering → Task persistence: builds query
- Task persistence → Relational database: reads/writes
- Comments and mentions → Relational database: stores comments and mentions
- Comments and mentions → Redis publisher: publishes comment event
- Presence API → Redis publisher: publishes presence
- Activity API → Relational database: reads activity
- Redis publisher → Redis Pub/Sub: publishes
- Redis Pub/Sub → Redis subscriber: delivers messages
- Redis subscriber → WebSocket setup: forwards updates
- WebSocket setup → Board WebSocket: WebSocket updates