How denish178/taskmanagementsystem works
Task Management System is a React task-board application backed by a .NET API gateway and focused services. Users authenticate, organize teams and projects, plan sprints, create and update tasks, and use comments, files, notifications, dashboards, and optional AI chat. The graph follows the documented UI-to-gateway-to-service workflow and highlights task authorization, persistence, and realtime updates where sampled source supports them. Some service-to-service and gateway routing details are documented only at a high level, so uncertain links are omitted.
Main entry points: Program.cs API gateway · App.jsx App routes · api.js API clients · AuthContext.jsx Authentication UI
Components 26
React application
- App routes
frontend/src/App.jsx - Authentication UI
frontend/src/context/AuthContext.jsx - Project workspace
frontend/src/pages/Projects.jsx - Task board
frontend/src/pages/ProjectTasks.jsx - Task details
frontend/src/pages/TaskDetails.jsx - API clients
frontend/src/services/api.js - HTTP and auth
frontend/src/utils/http.js - Session storage
frontend/src/utils/authStorage.js - Shared UI
frontend/src/components/common/Skeleton.jsx
Gateway and identity
- API gateway
backend/Gateway/TaskManagement.Gateway/Program.cs - Accounts and profiles
backend/Services/Auth/TaskManagement.Auth/Controllers/AuthController.cs - User records
backend/Services/Auth/TaskManagement.Auth/Models/User.cs
Project and task work
- Teams and projects
backend/Services/Project/TaskManagement.Project/Controllers/TeamsController.cs - Project records
backend/Services/Project/TaskManagement.Project/Models/Project.cs - Task operations
backend/Services/Task/TaskManagement.Task/Controllers/TasksController.cs - Task records
backend/Services/Task/TaskManagement.Task/Models/TaskItem.cs - Task authorization
backend/Services/Task/TaskManagement.Task/Services/TaskAuthorizationService.cs
Collaboration features
- Comments
backend/Services/Comment/TaskManagement.Comment/Controllers/CommentsController.cs - File attachments
backend/Services/File/TaskManagement.File/Controllers/FilesController.cs - Blob storage
backend/Services/File/TaskManagement.File/Services/BlobStorageService.cs - Notifications
backend/Services/Notification/TaskManagement.Notification/Controllers/NotificationsController.cs
Insights and AI
- Dashboard
backend/Services/Dashboard/TaskManagement.Dashboard/Controllers/DashboardController.cs - AI chat
backend/Services/AI/TaskManagement.AI/Controllers/ChatController.cs - Database context
backend/Services/AI/TaskManagement.AI/Services/DatabaseContextService.cs - Gemini integration
backend/Services/AI/TaskManagement.AI/Services/GeminiService.cs
Other components
- Team member
Connections 26
- Team member → App routes: uses
- App routes → Authentication UI: routes to
frontend/src/App.jsx - App routes → Project workspace: routes to
frontend/src/App.jsx - App routes → Task board: routes to
frontend/src/App.jsx - App routes → Task details: routes to
frontend/src/App.jsx - Authentication UI → API clients: calls
frontend/src/context/AuthContext.jsx - API clients → HTTP and auth: uses
frontend/src/services/authService.js - Authentication UI → Session storage: stores session
- Task board → API clients: requests tasks
frontend/src/pages/ProjectTasks.jsx - Task board → Shared UI: renders
frontend/src/pages/ProjectTasks.jsx - API clients → API gateway: sends API requests
- API gateway → Accounts and profiles: routes requests
- API gateway → Teams and projects: routes requests
- API gateway → Task operations: routes requests
- API gateway → Comments: routes requests
- API gateway → File attachments: routes requests
- API gateway → Notifications: routes requests
- API gateway → Dashboard: routes requests
- API gateway → AI chat: routes requests
- Accounts and profiles → User records: reads and writes
backend/Services/Auth/TaskManagement.Auth/Controllers/AuthController.cs - Teams and projects → Project records: manages
backend/Services/Project/TaskManagement.Project/Controllers/TeamsController.cs - Task operations → Task records: reads and writes
backend/Services/Task/TaskManagement.Task/Controllers/TasksController.cs - Task operations → Task authorization: checks access
backend/Services/Task/TaskManagement.Task/Controllers/TasksController.cs - File attachments → Blob storage: stores files
backend/Services/File/TaskManagement.File/Controllers/FilesController.cs - AI chat → Database context: gets data context
backend/Services/AI/TaskManagement.AI/Controllers/ChatController.cs - AI chat → Gemini integration: requests AI response
backend/Services/AI/TaskManagement.AI/Controllers/ChatController.cs