How admira1b/taskflow works
TaskFlow is a microservices task and project management system with a gateway and separate identity and task services. The intended user workflow enters through the gateway, then uses identity capabilities for accounts and authentication and task capabilities for projects, members, groups, tasks, and comments. Services persist domain data and include messaging integration; shared libraries provide service discovery, API-client resilience, and common runtime abstractions. Source excerpts confirm several task-query repository calls and gateway discovery configuration; other service wiring is not shown, so those links are omitted or marked unverified.
Main entry points: TaskFlow.Tasks.API/Controllers Tasks API · TasksServiceDbContext.cs Tasks SQL store · Program.cs API gateway · TaskFlow.Identity.API/Controllers Identity API
Components 25
Request entry
- API gateway
Src/ApiGateway/TaskFlow.Gateway/Program.cs - Service routing
Src/ApiGateway/TaskFlow.Gateway/Extensions/ServicesRoutingExtensions.cs
Identity service
- Identity API
Src/Services/Identity/TaskFlow.Identity.API/Controllers - Authentication
Src/Services/Identity/TaskFlow.Identity.API/Controllers/AuthController.cs - Account and role changes
Src/Services/Identity/TaskFlow.Identity.Application/Commands - Account and role queries
Src/Services/Identity/TaskFlow.Identity.Application/Queries - JWT service
Src/Services/Identity/TaskFlow.Identity.Application/Services/JsonWebTokenService.cs - Identity domain
Src/Services/Identity/TaskFlow.Identity.Domain/Entities - Identity SQL store
Src/Services/Identity/TaskFlow.Identity.Infrastructure.SqlServer/IdentityServiceDbContext.cs - Identity event publisher
Src/Services/Identity/TaskFlow.Identity.Infrastructure.Messaging/IdentityServiceEventPublisher.cs
Task service
- Tasks API
Src/Services/Tasks/TaskFlow.Tasks.API/Controllers - Projects and members
Src/Services/Tasks/TaskFlow.Tasks.Application/Commands/Project - Task groups
Src/Services/Tasks/TaskFlow.Tasks.Application/Commands/TaskGroup - Tasks and comments
Src/Services/Tasks/TaskFlow.Tasks.Application/Commands/TaskItem - Task queries
Src/Services/Tasks/TaskFlow.Tasks.Application/Queries - Task domain
Src/Services/Tasks/TaskFlow.Tasks.Domain/Entities - Tasks SQL store
Src/Services/Tasks/TaskFlow.Tasks.Infrastructure.SqlServer/TasksServiceDbContext.cs - Task event consumer
Src/Services/Tasks/TaskFlow.Tasks.Infrastructure.Messaging/TasksServiceEventConsumer.cs - User deletion handler
Src/Services/Tasks/TaskFlow.Tasks.Application/ExternalEvents/UserDeletedEventHandler.cs
Shared runtime
- Consul discovery
Src/Shared/TaskFlow.Shared.Consul/ConsulHostedService.cs - HTTP service client
Src/Shared/TaskFlow.Shared.ApiClients/ServiceClientBase.cs - Identity client
Src/Shared/TaskFlow.Shared.ApiClients/IdentityService/IdentityServiceClient.cs - RabbitMQ transport
Src/Shared/TaskFlow.Shared.Messaging/RabbitMQ/Services - Shared core
Src/Shared/TaskFlow.Shared.Core/Results/RequestResult.cs
Other components
- User
Connections 29
- User → API gateway: sends requests
- API gateway → Service routing: configures routes
- Service routing → Consul discovery: uses discovery
Src/ApiGateway/TaskFlow.Gateway/Extensions/ServicesRoutingExtensions.cs - API gateway → Identity API: routes requests
- API gateway → Tasks API: routes requests
- Identity API → Authentication: hosts authentication
- Authentication → Account and role changes: dispatches commands
- Identity API → Account and role changes: dispatches changes
- Identity API → Account and role queries: dispatches queries
- Account and role changes → Identity SQL store: persists changes
- Account and role queries → Identity SQL store: reads data
- Authentication → JWT service: uses tokens
- Account and role changes → Identity event publisher: publishes events
- Identity SQL store → Identity domain: stores entities
- Tasks API → Projects and members: dispatches changes
- Tasks API → Task groups: dispatches changes
- Tasks API → Tasks and comments: dispatches changes
- Tasks API → Task queries: dispatches queries
- Projects and members → Tasks SQL store: persists changes
- Task groups → Tasks SQL store: persists changes
- Tasks and comments → Tasks SQL store: persists changes
- Task queries → Tasks SQL store: reads data
- Task queries → Task domain: maps entities
Src/Services/Tasks/TaskFlow.Tasks.Application/Queries/TaskItem/GetByProject/GetTaskItemsByProjectQueryHandler.cs - Task queries → Shared core: returns results
Src/Services/Tasks/TaskFlow.Tasks.Application/Queries/TaskItem/GetByProject/GetTaskItemsByProjectQueryHandler.cs - Tasks SQL store → Task domain: stores entities
- Task event consumer → User deletion handler: dispatches events
- Identity event publisher → RabbitMQ transport: publishes messages
- Task event consumer → RabbitMQ transport: consumes messages
- Identity client → HTTP service client: inherits client
Src/Shared/TaskFlow.Shared.ApiClients/IdentityService/IdentityServiceClient.cs