How inamulhasankiaq-devops/smart-task-mgmt works
Smart-task-mgmt is a task-management application built around a browser client, an API gateway, and separate authentication and task services; notification and reporting services are also present. The principal evidenced workflow is a user signing in and managing tasks through the frontend API and gateway. Service controllers handle requests and use their models. Notification and report creation are exposed as separate service branches, but no connection from task operations to those services is shown. The README gives no further capability details, and unsampled page and service behavior is not inferred.
Main entry points: App.jsx Frontend router · app.js Gateway routes · api.js API client · auth.routes.js Auth routes
Components 22
Browser client
- Frontend router
frontend/src/App.jsx - Login page
frontend/src/pages/Login.jsx - Task dashboard
frontend/src/pages/Dashboard.jsx - Create task page
frontend/src/pages/CreateTask.jsx - API client
frontend/src/api/api.js
API gateway
- Gateway routes
api-gateway_1784010924579/src/app.js - HTTP metrics
api-gateway_1784010924579/src/metrics.js
Authentication
- Auth routes
auth-service_1784011000189/src/routes/auth.routes.js - Auth operations
auth-service_1784011000189/src/controllers/auth.controller.js - Auth middleware
auth-service_1784011000189/src/middlewares/auth.middleware.js - User model
auth-service_1784011000189/src/models/User.js
Task management
- Task routes
task-service/src/routes/task.routes.js - Task auth middleware
task-service/src/middlewares/auth.middleware.js - Task operations
task-service/src/controllers/task.controller.js - Task model
task-service/src/models/Task.js
Notifications and reports
- Notification routes
notification-service/src/routes/notification.routes.js - Notification creation
notification-service/src/controllers/notification.controller.js - Notification model
notification-service/src/models/Notification.js - Report routes
report-service/src/routes/report.routes.js - Report creation
report-service/src/controllers/report.controller.js - Report model
report-service/src/models/Report.js
Other components
- User
Connections 21
- User → Frontend router: uses
- Frontend router → Login page: routes to
frontend/src/App.jsx - Frontend router → Task dashboard: routes to
frontend/src/App.jsx - Frontend router → Create task page: routes to
frontend/src/App.jsx - Login page → API client: calls
frontend/src/pages/Login.jsx - Task dashboard → API client: calls
frontend/src/pages/Dashboard.jsx - Create task page → API client: calls
frontend/src/pages/CreateTask.jsx - API client → Gateway routes: sends HTTP
frontend/src/api/api.js - Gateway routes → HTTP metrics: records requests
api-gateway_1784010924579/src/app.js - Gateway routes → Auth routes: proxies auth
api-gateway_1784010924579/src/app.js - Gateway routes → Task routes: proxies tasks
api-gateway_1784010924579/src/app.js - Auth routes → Auth operations: dispatches
auth-service_1784011000189/src/routes/auth.routes.js - Auth routes → Auth middleware: guards profile
auth-service_1784011000189/src/routes/auth.routes.js - Auth operations → User model: reads and writes
auth-service_1784011000189/src/controllers/auth.controller.js - Task routes → Task auth middleware: guards operations
task-service/src/routes/task.routes.js - Task routes → Task operations: dispatches
task-service/src/routes/task.routes.js - Task operations → Task model: reads and writes
task-service/src/controllers/task.controller.js - Notification routes → Notification creation: dispatches
notification-service/src/routes/notification.routes.js - Notification creation → Notification model: creates
notification-service/src/controllers/notification.controller.js - Report routes → Report creation: dispatches
report-service/src/routes/report.routes.js - Report creation → Report model: creates
report-service/src/controllers/report.controller.js