How nathanpatrzyk/dot works
Dot is a personal task organizer: users manage categories and tasks, with authentication, account lifecycle controls, and an optional weather widget. The graph follows the sampled task/category service and repository flow; the tree identifies additional capabilities, but their internal wiring was not sampled, so uncertain calls are omitted.
Main entry points: tasks.ts Task actions · categories.ts Category actions · task-container.tsx Task interface · category-container.tsx Category interface
Components 27
User experience
- Task interface
src/components/tasks/task-container.tsx - Task interactions
src/hooks/use-tasks.ts - Category interface
src/components/categories/category-container.tsx - Category pages
src/app/(private)/categories/page.tsx - Category task page
src/app/(private)/categories/[slug]/tasks/page.tsx - Weather widget
src/components/shared/weather-widget.tsx
Task and category domain
- Task actions
src/actions/tasks.ts - Task query
src/queries/tasks.ts - Task service
src/core/services/tasks.service.ts - Category actions
src/actions/categories.ts - Category service
src/core/services/categories.service.ts
Identity and account
- Login and reactivation
src/app/(public)/login/page.tsx - Auth endpoint
src/app/api/auth/[...all]/route.ts - Auth configuration
src/lib/auth.ts - Session guard
src/lib/require-session.ts - User actions
src/actions/users.ts - Deletion service
src/core/services/users-deletion.service.ts - Scheduled worker
worker/index.ts
Persistence and integrations
- Category repository
src/adapters/shared/categories.repository.ts - Task repository
src/adapters/shared/tasks.repository.ts - Deletion repository
src/adapters/shared/users-deletion.repository.ts - Adapter selection
src/adapters-index-cloudflare.ts - Database schema
src/db/schema.ts - Application database
- Weather endpoint
src/app/api/weather/route.ts
Other components
- User
- Weather provider
Connections 28
- User → Task interface: uses
- User → Category interface: uses
- Task interface → Task interactions: handles tasks
- Task interactions → Task actions: submits changes
- Category interface → Category actions: submits changes
- Category pages → Category interface: renders
- Category task page → Task interface: renders
- Category task page → Task query: loads tasks
- Task query → Task service: requests tasks
- Task actions → Session guard: requires session
- Task actions → Task service: invokes
- Task service → Task repository: uses
- Category actions → Session guard: requires session
- Category actions → Category service: invokes
- Category service → Category repository: uses
- Category repository → Application database: reads and writes
- Task repository → Application database: reads and writes
- Database schema → Application database: defines tables
- Login and reactivation → Auth endpoint: authenticates
- Auth endpoint → Auth configuration: dispatches to
- User actions → Session guard: requires session
- Scheduled worker → Deletion service: schedules purge
- Deletion service → Deletion repository: uses
- Deletion repository → Application database: reads and writes
- Weather widget → Weather endpoint: requests forecast
- Weather endpoint → Weather provider: fetches forecast
- Adapter selection → Task repository: selects adapter
- Adapter selection → Category repository: selects adapter