How prasad-avula/smart-tracker works
Smart Task Tracker is a Firebase-backed task and goal tracker. Its main workflow is managing tasks for a selected date: the task page uses a task hook, which fetches or mutates task data through a service backed by Firestore. Users can also manage goals and review daily or periodic history. Authentication and settings are separate product areas. The README is empty, so coverage of capabilities not evident in sampled source is limited; unsampled UI wiring is not asserted.
Main entry points: TasksPage.tsx Task Page · authService.ts Auth Service · taskService.ts Task Service · historyService.ts History Service
Components 22
Application
- App Routes
src/app/routes/routes.tsx - Settings
src/features/settings/components/SettingsPage.tsx
Authentication
- Login UI
src/features/auth/components/LoginPage.tsx - Auth Hook
src/features/auth/hooks/useAuth.tsx - Auth State
src/features/auth/store/authStore.ts - Auth Service
src/features/auth/services/authService.ts
Tasks and Goals
- Task Page
src/features/tasks/components/TasksPage.tsx - Task Form
src/features/tasks/components/TaskFormModal.tsx - Task Card
src/features/tasks/components/TaskCard.tsx - Date Navigator
src/features/tasks/components/DateNavigator.tsx - Date State
src/features/tasks/store/dateStore.ts - Task Hook
src/features/tasks/hooks/useTasks.ts - Task Service
src/features/tasks/services/taskService.ts - Goals UI
src/features/goals/components/GoalsPage.tsx - Goal Hook
src/features/goals/hooks/useGoals.ts - Goal Service
src/features/goals/services/goalService.ts
History
- History UI
src/features/history/components/HistoryPage.tsx - History Hook
src/features/history/hooks/useHistory.ts - History Service
src/features/history/services/historyService.ts
Data Platform
- Cloud Firestore
- Firebase Auth
Other components
- User
Connections 18
- User → Login UI: signs in
- Task Page → Task Hook: uses
src/features/tasks/components/TasksPage.tsx - Task Page → Task Form: renders
src/features/tasks/components/TasksPage.tsx - Task Page → Task Card: renders
src/features/tasks/components/TasksPage.tsx - Task Page → Date Navigator: renders
src/features/tasks/components/TasksPage.tsx - Task Page → Date State: reads
src/features/tasks/components/TasksPage.tsx - Task Form → Date State: reads
src/features/tasks/components/TaskFormModal.tsx - Task Hook → Task Service: calls
src/features/tasks/hooks/useTasks.ts - Task Service → Cloud Firestore: reads and writes
src/features/tasks/services/taskService.ts - Goal Hook → Goal Service: calls
src/features/goals/hooks/useGoals.ts - Goal Service → Cloud Firestore: reads and writes
src/features/goals/services/goalService.ts - History Hook → History Service: calls
src/features/history/hooks/useHistory.ts - History Service → Task Service: loads tasks
src/features/history/services/historyService.ts - Auth Hook → Auth State: uses
src/features/auth/hooks/useAuth.tsx - Auth Hook → History Service: requests catch-up
src/features/auth/hooks/useAuth.tsx - Auth State → Auth Service: calls
src/features/auth/store/authStore.ts - Auth Service → Firebase Auth: authenticates
src/features/auth/services/authService.ts - Auth Service → Cloud Firestore: reads and writes
src/features/auth/services/authService.ts