How epo33m/deadline-radar works
Deadline Radar is a personal academic task tracker. Students manage courses and tasks, attach files or links, and use a centralized summary and calendar to monitor deadlines; reminders are delivered in-app and by email. The graph preserves the documented product areas and sampled API entry, authentication, task, storage, and shared-domain layers. Several route and web implementations were not sampled, so their relationships are included only where documented or explicitly marked unverified.
Main entry points: app.ts API application · layout.tsx Web application · tasks.ts Task routes · auth.ts Authentication routes
Components 27
Student experience
- Web application
apps/web/app/(app)/layout.tsx - Sign-in and registration
apps/web/app/(auth)/login/page.tsx - Course management
apps/web/components/courses/courses-management.tsx - Task management
apps/web/components/tasks/tasks-collection.tsx - Task attachments
apps/web/components/tasks/attachment-manager.tsx - Summary and calendar
apps/web/app/(app)/summary/page.tsx - Notifications
apps/web/components/notifications/notification-list.tsx - Web actions
apps/web/app/actions/tasks.ts
API services
- API application
apps/api/src/app.ts - Authentication routes
apps/api/src/routes/auth.ts - Authentication and authorization
apps/api/src/plugins/auth.ts - Course routes
apps/api/src/routes/courses.ts - Task routes
apps/api/src/routes/tasks.ts - Attachment routes
apps/api/src/routes/attachments.ts - Summary routes
apps/api/src/routes/summary.ts - Notification routes
apps/api/src/routes/notifications.ts - Reminder scheduler
apps/api/src/services/run-evaluate.ts - API request utilities
apps/api/src/lib/api/idempotency.ts
Task domain
- Reminder evaluation
packages/domain/src/evaluate.ts - Summary calculations
packages/domain/src/summary.ts
Data and integrations
- Application database
packages/db/src/schema.ts - Database client
packages/db/src/client.ts - Attachment storage helpers
apps/api/src/lib/storage.ts - Orphaned-file cleanup
apps/api/src/lib/storage-sweep.ts
Other components
- Student
- Supabase Auth and Storage
- Resend email delivery
Connections 29
- Student → Web application: uses
README.md - Student → Sign-in and registration: registers or logs in
README.md - Web application → Course management: manages courses
README.md - Web application → Task management: manages tasks
README.md - Task management → Task attachments: adds attachments
README.md - Web application → Summary and calendar: views deadlines
README.md - Web application → Notifications: views reminders
README.md - Web actions → API application: calls API
- API application → Authentication routes: registers
apps/api/src/app.ts - API application → Course routes: registers
apps/api/src/app.ts - API application → Task routes: registers
apps/api/src/app.ts - API application → Summary routes: registers
apps/api/src/app.ts - API application → Attachment routes: registers
apps/api/src/app.ts - API application → Notification routes: registers
apps/api/src/app.ts - API application → Reminder scheduler: registers
apps/api/src/app.ts - Authentication routes → Authentication and authorization: uses authorization
apps/api/src/routes/auth.ts - Task routes → Authentication and authorization: requires capabilities
apps/api/src/routes/tasks.ts - Task routes → Application database: reads and writes
apps/api/src/routes/tasks.ts - Task routes → API request utilities: uses request utilities
apps/api/src/routes/tasks.ts - Authentication routes → Supabase Auth and Storage: authenticates accounts
README.md - Task routes → Reminder evaluation: evaluates reminders
- Reminder scheduler → Reminder evaluation: runs evaluation
- Summary routes → Summary calculations: calculates summaries
- Application database → Database client: defines schema
packages/db/src/client.ts - Attachment routes → Attachment storage helpers: handles file operations
- Attachment storage helpers → Supabase Auth and Storage: operates on files
apps/api/src/lib/storage.ts - Orphaned-file cleanup → Application database: checks references
apps/api/src/lib/storage-sweep.ts - Orphaned-file cleanup → Attachment storage helpers: lists and removes files
apps/api/src/lib/storage-sweep.ts - Reminder scheduler → Resend email delivery: sends reminder email