How glebweider/taskboard works
Taskboard is a collaborative Kanban task manager. Users authenticate with Discord, enter the protected project workspace, and manage projects, boards, lists, and cards; the task view fetches the user’s assigned tasks and links back to their project. The backend also supports invitations, project membership, activity/SSE updates, caching, and card-file handling. Frontend routing and several backend call paths are visible in excerpts; unsampled subsystem links are omitted or marked unverified rather than inferred as confirmed calls.
Main entry points: project.service.ts Project service · card.service.ts Card service · App.tsx Route application · project.controller.ts Project routes
Components 24
Frontend
- Route application
FrontEnd/src/App.tsx - Sign-in page
FrontEnd/src/pages/AuthPage.tsx - OAuth callback
FrontEnd/src/pages/CallbackPage.tsx - Projects page
FrontEnd/src/pages/ProjectsPage.tsx - Assigned tasks
FrontEnd/src/pages/TasksPage.tsx - Project state
FrontEnd/src/redux/reducers/projectReducer.ts - Task fetch
FrontEnd/src/utils/fetch/getTasksByProjectId.ts
Identity
- Auth routes
Backend/src/auth/auth.controller.ts - Discord auth
Backend/src/auth/auth.service.ts - User routes
Backend/src/user/user.controller.ts - User service
Backend/src/user/user.service.ts
Workspace management
- Project routes
Backend/src/project/project.controller.ts - Project service
Backend/src/project/service/project.service.ts - Board service
Backend/src/project/service/board.service.ts - List service
Backend/src/project/service/list.service.ts - Card service
Backend/src/project/service/card.service.ts
Runtime services
- MongoDB
- Redis service
Backend/src/redis/redis.service.ts - SSE service
Backend/src/sse/sse.service.ts - Activity service
Backend/src/activity/activity.service.ts - Google file service
Backend/src/google/google.service.ts
Other components
- User
- Discord API
- Google API
Connections 31
- User → Route application: uses
FrontEnd/src/App.tsx - Route application → Sign-in page: routes
FrontEnd/src/App.tsx - Route application → OAuth callback: routes
FrontEnd/src/App.tsx - Route application → Projects page: routes
FrontEnd/src/App.tsx - Route application → Assigned tasks: routes
FrontEnd/src/App.tsx - Assigned tasks → Task fetch: fetches tasks
FrontEnd/src/pages/TasksPage.tsx - Assigned tasks → Projects page: opens project
FrontEnd/src/pages/TasksPage.tsx - Sign-in page → Auth routes: authenticates
- OAuth callback → Auth routes: exchanges token
- Auth routes → Discord auth: calls
Backend/src/auth/auth.controller.ts - Discord auth → Discord API: validates token
Backend/src/auth/auth.service.ts - Discord auth → User service: looks up user
Backend/src/auth/auth.service.ts - Discord auth → Redis service: updates cache
Backend/src/auth/auth.service.ts - User routes → User service: calls
Backend/src/user/user.controller.ts - Task fetch → User routes: requests tasks
- Projects page → Project routes: requests projects
- Project routes → Project service: dispatches
Backend/src/project/project.controller.ts - Project routes → Board service: dispatches
Backend/src/project/project.controller.ts - Project routes → List service: dispatches
Backend/src/project/project.controller.ts - Project routes → Card service: dispatches
Backend/src/project/project.controller.ts - Project service → Redis service: reads cache
Backend/src/project/service/project.service.ts - Project service → SSE service: emits updates
Backend/src/project/service/project.service.ts - Project service → Activity service: logs activity
Backend/src/project/service/project.service.ts - Project service → Discord API: uses integration
Backend/src/project/service/project.service.ts - Card service → Google file service: uploads files
Backend/src/project/service/card.service.ts - Google file service → Google API: stores files
- Project service → MongoDB: reads and writes
Backend/src/project/service/project.service.ts - Card service → MongoDB: reads and writes
Backend/src/project/service/card.service.ts - Card service → SSE service: emits updates
Backend/src/project/service/card.service.ts - Card service → Activity service: logs activity
Backend/src/project/service/card.service.ts - Card service → Redis service: reads cache
Backend/src/project/service/card.service.ts