How jnvcprasad1507/task-management-system works
The Task Management System lets authenticated users manage tasks and related activity, with administrators managing users and role-gated actions. The principal flow is browser interaction through React routes and API clients to FastAPI endpoints, then task services and persistence. The README also documents authentication, comments, attachments, notifications, dashboards, and profiles. The task path is supported by sampled source; other capabilities are represented from the README and tree, so uncertain internal call wiring is omitted.
Main entry points: services Domain services · main.py FastAPI app · task_repository.py Task repository · AppRoutes.tsx App routes
Components 21
Web application
- App routes
frontend/src/routes/AppRoutes.tsx - Task pages
frontend/src/pages/tasks/TaskListPage.tsx - Task state
frontend/src/hooks/useTasks.ts - Task API client
frontend/src/api/tasks.api.ts - Auth and profile
frontend/src/pages/auth/LoginPage.tsx - Other API clients
frontend/src/api
API and domain
- FastAPI app
backend/app/main.py - Task endpoints
backend/app/api/routes/tasks.py - Auth endpoints
backend/app/api/routes/auth.py - Domain endpoints
backend/app/api/routes - Task service
backend/app/services/task_service.py - Domain services
backend/app/services
Persistence and security
- Task repository
backend/app/repositories/task_repository.py - User repository
backend/app/repositories/user_repository.py - PostgreSQL
- ORM models
backend/app/models - Auth security
backend/app/core/security.py
Task activity
- Notification creation
backend/app/background/notification_tasks.py - Audit logging
backend/app/services/audit_service.py - Attachment handling
backend/app/services/attachment_service.py
Other components
- User
Connections 23
- User → App routes: navigates
- App routes → Task pages: routes to
- Task pages → Task state: uses state
- Task state → Task API client: calls
- Task API client → FastAPI app: HTTP REST
- FastAPI app → Task endpoints: dispatches
- Task endpoints → Task service: calls
- Task service → Task repository: uses
- Task repository → PostgreSQL: queries and writes
- Task repository → ORM models: queries
- User → Auth and profile: uses
- Auth and profile → Other API clients: requests
- Other API clients → FastAPI app: HTTP REST
- FastAPI app → Auth endpoints: dispatches
- Auth endpoints → Domain services: handles auth
- Domain services → User repository: uses users
- User repository → PostgreSQL: queries and writes
- Domain services → Auth security: hashes and signs
- FastAPI app → Domain endpoints: dispatches
- Domain endpoints → Domain services: domain operations
- Domain services → Notification creation: notification support
- Domain services → Audit logging: audit support
- Domain services → Attachment handling: attachment support