How pangilproject/checky works
Checky is a personal task-and-habit tracking web app: users sign in, organize one-off Tasks and repeating Routines, check off daily activity, then review progress in calendars and records. Admins manage users, notices, dashboards, and reports. The graph follows documented routes and workflows and the sampled call/reference evidence; several page internals and API implementations were not sampled, so uncertain connections are omitted.
Main entry points: router.tsx Route dispatch · useRecordData.ts Period review · firebase.ts Firebase client · CategoryPage.tsx Category management
Components 30
Entry and identity
- Route dispatch
src/router.tsx - Service landing
src/pages/LandingPage/LandingPage.tsx - Google sign-in
src/pages/LoginPage/components/LoginSection.tsx - Auth state
src/shared/stores/authStore.ts
Daily execution
- Category management
src/pages/CategoryPage/CategoryPage.tsx - Task planning
src/pages/HomePage/components/TaskReport/sections/TaskReportSection.tsx - Task mutations
src/pages/HomePage/components/TaskReport/hooks/useTaskModalHandlers.ts - Routine management
src/pages/RoutinePage/components/RoutineList/index.tsx - Routine check-off
src/pages/HomePage/components/RoutineReport/hooks/useRoutineToggle.ts - Daily hub
src/pages/HomePage/index.tsx
Progress and review
- Calendar reports
src/pages/HomePage/components/MonthlyReport/index.tsx - Achievement report
src/pages/HomePage/components/AchievementReport/index.tsx - Routine report
src/pages/HomePage/components/RoutineReport/index.tsx - Period review
src/pages/RecordPage/hooks/useRecordData.ts - Profile and theme
src/pages/MyPage/MyPage.tsx - Notice viewing
src/shared/ui/notices/index.tsx
Domain data services
- Firebase client
src/firebase/firebase.ts - Category API
src/shared/api/category - Task and log APIs
src/shared/api/task - Routine and history APIs
src/shared/api/routine - Monthly summaries
src/shared/api/monthlyStats - Notice API
src/shared/api/notice
Administration
- Admin dashboard
src/admin/pages/dashboard/AdminDashboardPage.tsx - Admin metrics
src/admin/pages/dashboard/hooks/useAdminStats.ts - User administration
src/admin/pages/users/AdminUsersPage.tsx - Notice administration
src/admin/pages/notices/AdminNoticesPage.tsx - Admin reports
src/admin/pages/reports/AdminReportsPage.tsx
Other components
- User
- Firebase Auth
- Firestore
Connections 34
- User → Route dispatch: opens app
src/router.tsx - Route dispatch → Service landing: routes to
src/router.tsx - Route dispatch → Google sign-in: routes to
src/router.tsx - Route dispatch → Daily hub: guards route
src/router.tsx - Route dispatch → Category management: routes to
src/router.tsx - Route dispatch → Routine management: routes to
src/router.tsx - Route dispatch → Period review: routes to
src/router.tsx - Route dispatch → Profile and theme: routes to
src/router.tsx - Route dispatch → Admin dashboard: routes to
src/router.tsx - Route dispatch → User administration: routes to
src/router.tsx - Route dispatch → Notice administration: routes to
src/router.tsx - Route dispatch → Admin reports: routes to
src/router.tsx - User → Category management: organizes categories
README.md - User → Task planning: plans tasks
README.md - User → Routine management: sets routines
README.md - User → Daily hub: checks activity
README.md - User → Period review: reviews periods
README.md - Google sign-in → Auth state: signs in
- Auth state → Firebase client: uses client
src/shared/stores/authStore.ts - Firebase client → Firebase Auth: initializes
src/firebase/firebase.ts - Firebase client → Firestore: initializes
src/firebase/firebase.ts - Category management → Category API: loads categories
- Task mutations → Task and log APIs: updates tasks
src/pages/HomePage/components/TaskReport/hooks/useTaskModalHandlers.ts - Task mutations → Monthly summaries: patches summaries
src/pages/HomePage/components/TaskReport/hooks/useTaskModalHandlers.ts - Routine check-off → Routine and history APIs: toggles routines
src/pages/HomePage/components/RoutineReport/hooks/useRoutineToggle.ts - Routine check-off → Routine and history APIs: updates logs
src/pages/HomePage/components/RoutineReport/hooks/useRoutineToggle.ts - Period review → Category API: loads categories
src/pages/RecordPage/hooks/useRecordData.ts - Period review → Task and log APIs: reads tasks and logs
src/pages/RecordPage/hooks/useRecordData.ts - Period review → Routine and history APIs: reads routines and logs
src/pages/RecordPage/hooks/useRecordData.ts - Period review → Monthly summaries: builds month keys
src/pages/RecordPage/hooks/useRecordData.ts - Admin dashboard → Admin metrics: loads metrics
src/admin/pages/dashboard/AdminDashboardPage.tsx - Admin metrics → Firestore: reads users
src/admin/pages/dashboard/hooks/useAdminStats.ts - Notice administration → Notice API: manages notices
- Notice viewing → Notice API: loads notices