How monish0211/ak-project-tracker works
This repository is a PMO project-management platform with a React frontend and an Express backend. Users enter through the authenticated web application, then work across project, commercial, workforce, and operational modules; the backend exposes API routes and persists business data. Document extraction, timesheet imports, mail ingestion, reporting, and notifications are distinct supporting capabilities. The excerpts and source index show several internal call relationships, but not the complete application wiring or every module’s runtime behavior; unsampled links are therefore omitted rather than inferred.
Main entry points: App.tsx Web app routes · timesheets Timesheet management · timesheet.controller.ts Timesheet controller · notificationEngine.ts Notification rules engine
Components 25
Web application
- Web app routes
frontend/src/App.tsx - Login experience
frontend/src/pages/Login/Login.tsx - Workspace layout
frontend/src/layouts/MainLayout.tsx
Identity and access
- Auth context
frontend/src/auth/authContext.tsx - Auth routes
Backend/src/modules/auth/routes/auth.routes.ts - Authentication service
Backend/src/modules/auth/services/auth.service.ts - Auth repository
Backend/src/modules/auth/repository/auth.repository.ts
Project operations
- Project management
Backend/src/modules/projects - Customer management
Backend/src/modules/customers
Commercial operations
- Invoice operations
Backend/src/modules/invoices - Expense tracking
Backend/src/modules/expenses - PDF field mapping
frontend/src/services/pdfExtraction/ruleEngine/fieldMappingEngine.ts
Workforce and ingestion
- Timesheet management
Backend/src/modules/timesheets - Timesheet controller
Backend/src/modules/timesheets/controllers/timesheet.controller.ts - Workbook parser
Backend/src/modules/timesheets/services/excelParser.service.ts - Mailbox poll route
Backend/src/modules/mailIngestion/routes/mailIngestion.routes.ts - Mailbox poll handler
Backend/src/modules/mailIngestion/controllers/mailIngestion.controller.ts - Mail poll service
Backend/src/modules/mailIngestion/services/mailPoll.service.ts
Insights and notifications
- Dashboard summaries
Backend/src/modules/dashboard - Report data queries
frontend/src/components/reports/useReportsData.ts - Notification rules engine
frontend/src/notifications/notificationEngine.ts - Notification store
frontend/src/notifications/notificationStore.ts - Notification API
Backend/src/modules/notifications/notification.controller.ts
Other components
- PMO user
- Application database
Connections 22
- PMO user → Web app routes: uses
frontend/src/App.tsx - Web app routes → Auth context: provides auth
frontend/src/App.tsx - Web app routes → Login experience: routes to
frontend/src/App.tsx - Web app routes → Workspace layout: routes to
frontend/src/App.tsx - Auth routes → Authentication service: dispatches to
- Authentication service → Auth repository: reads and writes
Backend/src/modules/auth/services/auth.service.ts - Auth repository → Application database: persists
Backend/src/modules/auth/repository/auth.repository.ts - Project management → Application database: persists
- Customer management → Application database: persists
- Invoice operations → Application database: persists
- Expense tracking → Application database: persists
- Timesheet management → Application database: persists
- Timesheet controller → Workbook parser: parses workbook
Backend/src/modules/timesheets/controllers/timesheet.controller.ts - Timesheet controller → Timesheet management: invokes import
Backend/src/modules/timesheets/controllers/timesheet.controller.ts - Mailbox poll route → Mailbox poll handler: routes to
Backend/src/modules/mailIngestion/routes/mailIngestion.routes.ts - Mailbox poll handler → Mail poll service: triggers poll
Backend/src/modules/mailIngestion/controllers/mailIngestion.controller.ts - Mail poll service → Timesheet management: reuses import flow
- PDF field mapping → Invoice operations: supports extraction
- Report data queries → Project management: queries data
frontend/src/components/reports/useReportsData.ts - Notification rules engine → Notification store: syncs rules
frontend/src/notifications/notificationEngine.ts - Notification rules engine → Report data queries: reads projects
- Notification API → Application database: persists