How abhay13-11/deadlineai works
DeadlineAI is a full-stack deadline and task-management platform. Users authenticate, create or extract tasks, then organize them in dashboard, list, calendar, and Kanban views; analytics and AI planning/chat provide insight, while scheduled reminders notify users. The graph follows documented capabilities and sampled calls. Some UI and service internals were not sampled, so those subsystem relationships are shown only where README documentation or source evidence supports them.
Main entry points: App.tsx Application routes · app.ts HTTP API · task.routes.ts Task routes · task.service.ts Task operations
Components 31
Product interface
- Application routes
client/src/App.tsx - Task views
client/src/pages/tasks - Calendar and Kanban
client/src/pages - Dashboard
client/src/pages/dashboard/DashboardPage.tsx - AI assistant UI
client/src/pages/ai/AIAssistantPage.tsx - Analytics UI
client/src/pages/analytics/AnalyticsPage.tsx - Task data hook
client/src/hooks/useTasks.ts - Task API client
client/src/services/taskService.ts - Auth API client
client/src/services/authService.ts
API and identity
- HTTP API
server/src/app.ts - Authentication routes
server/src/routes/auth.routes.ts - Authentication controller
server/src/controllers/auth.controller.ts - JWT protection
server/src/middleware/auth.middleware.ts - User records
server/src/models/User.model.ts
Task domain
- Task routes
server/src/routes/task.routes.ts - Task controller
server/src/controllers/task.controller.ts - Task operations
server/src/services/task.service.ts - Task records
server/src/models/Task.model.ts - Activity history
server/src/models/ActivityLog.model.ts
AI and insights
- AI routes
server/src/routes/ai.routes.ts - AI task controller
server/src/controllers/ai.controller.ts - AI chat, OCR, parsing, planning
server/src/services/ai - Gemini provider
server/src/services/ai/geminiClient.service.ts - Analytics service
server/src/services/analytics.service.ts - Analytics routes
server/src/routes/analytics.routes.ts
Notifications
- Reminder scheduler
server/src/services/notification/scheduler.service.ts - Scheduled jobs
server/src/jobs - Push delivery
server/src/services/notification
Other components
- Student or professional
- Push platforms
- MongoDB
Connections 35
- Student or professional → Application routes: opens
client/src/App.tsx - Application routes → Task views: routes
client/src/App.tsx - Application routes → Calendar and Kanban: routes
client/src/App.tsx - Application routes → Dashboard: routes
client/src/App.tsx - Application routes → AI assistant UI: routes
client/src/App.tsx - Application routes → Analytics UI: routes
client/src/App.tsx - Task views → Task data hook: loads tasks
client/src/pages/tasks/TasksPage.tsx - Task data hook → Task API client: requests
client/src/hooks/useTasks.ts - Task API client → Task routes: calls API
client/src/services/taskService.ts - AI assistant UI → AI routes: calls API
- Analytics UI → Analytics routes: calls API
- Application routes → HTTP API: serves requests
server/src/app.ts - HTTP API → Authentication routes: mounts
server/src/app.ts - HTTP API → Task routes: mounts
server/src/app.ts - HTTP API → AI routes: mounts
server/src/app.ts - HTTP API → Analytics routes: mounts
server/src/app.ts - Authentication routes → Authentication controller: dispatches
server/src/routes/auth.routes.ts - Authentication controller → User records: reads and updates
server/src/controllers/auth.controller.ts - Auth API client → Authentication routes: calls API
client/src/services/authService.ts - Task routes → JWT protection: protects
server/src/routes/task.routes.ts - AI routes → JWT protection: protects
server/src/routes/ai.routes.ts - Task routes → Task controller: dispatches
server/src/routes/task.routes.ts - Task controller → Task operations: calls
server/src/controllers/task.controller.ts - Task operations → Task records: reads and writes
server/src/services/task.service.ts - Task operations → Activity history: records changes
server/src/services/task.service.ts - Task records → MongoDB: persists in
- AI routes → AI task controller: dispatches
server/src/routes/ai.routes.ts - AI task controller → AI chat, OCR, parsing, planning: calls
server/src/controllers/ai.controller.ts - AI task controller → Task operations: creates confirmed task
server/src/controllers/ai.controller.ts - AI chat, OCR, parsing, planning → Gemini provider: uses provider
server/src/services/ai/taskParser.service.ts - Analytics routes → Analytics service: dispatches
- Reminder scheduler → Task records: checks deadlines
- Scheduled jobs → Reminder scheduler: runs periodically
- Scheduled jobs → Push delivery: triggers delivery
- Push delivery → Push platforms: sends notifications