How parth-s-mhatre/tasky works
Tasky is an Expo/React Native task manager. Users authenticate, then create and manage dated tasks, browse/search/filter them in a date-grouped list or calendar, and navigate account settings or sign out. The graph follows the documented workflow and source-index references; unsampled route implementations are represented by their exact route paths, with only documented or evidenced connections included.
Main entry points: taskStore.ts Task state · authStore.ts Auth state · AppDrawer.tsx Navigation drawer · useGoogleAuth.ts Google sign-in flow
Components 22
App routes
- Session gate
app/_layout.tsx - Login and register
app/login.tsx - Registration route
app/register.tsx - Home overview
app/home.tsx - Account settings
app/settings.tsx - Navigation drawer
src/components/AppDrawer.tsx
Authentication
- Auth state
src/state/authStore.ts - Google sign-in flow
src/state/useGoogleAuth.ts - Firebase auth repository
src/data/authRepository.ts
Task management
- Task list
app/tasks/index.tsx - Task calendar
app/tasks/calendar.tsx - Create task
app/tasks/new.tsx - Task details
app/tasks/[id].tsx - Task form
src/components/TaskForm.tsx
Data and domain
- Task state
src/state/taskStore.ts - Firestore task repository
src/data/taskRepository.ts - Task rules and filtering
src/domain/task.ts - Firebase clients
src/core/firebase.ts
Other components
- App user
- Cloud Firestore
- Firebase Authentication
- Native Google Sign-In
Connections 37
- App user → Session gate: opens app
README.md - Session gate → Auth state: restores session
app/_layout.tsx - App user → Login and register: enters credentials
README.md - App user → Registration route: starts registration
README.md - Login and register → Auth state: submits auth
app/login.tsx - Registration route → Auth state: submits auth
app/register.tsx - Login and register → Google sign-in flow: starts Google auth
app/login.tsx - Registration route → Google sign-in flow: starts Google auth
app/register.tsx - Google sign-in flow → Native Google Sign-In: requests identity
src/state/useGoogleAuth.ts - Google sign-in flow → Auth state: exchanges token
src/state/useGoogleAuth.ts - Auth state → Firebase auth repository: delegates auth
src/state/authStore.ts - Firebase auth repository → Firebase clients: uses auth client
src/data/authRepository.ts - Firebase clients → Firebase Authentication: initializes client
src/core/firebase.ts - Auth state → Task state: resets account tasks
src/state/authStore.ts - App user → Home overview: views overview
README.md - App user → Task list: browses tasks
README.md - App user → Task calendar: browses dates
README.md - App user → Create task: creates task
README.md - App user → Task details: opens task
README.md - App user → Account settings: opens settings
README.md - Home overview → Task state: reads task state
app/home.tsx - Task list → Task state: reads and updates
app/tasks/index.tsx - Task calendar → Task state: reads tasks
app/tasks/calendar.tsx - Create task → Task form: renders form
app/tasks/new.tsx - Create task → Task state: creates task
app/tasks/new.tsx - Task details → Task form: renders form
app/tasks/[id].tsx - Task details → Task state: updates task
app/tasks/[id].tsx - Task state → Firestore task repository: delegates persistence
src/state/taskStore.ts - Task state → Task rules and filtering: filters and sorts
src/state/taskStore.ts - Firestore task repository → Firebase clients: gets database client
src/data/taskRepository.ts - Firestore task repository → Cloud Firestore: reads and writes tasks
README.md - Firebase clients → Cloud Firestore: initializes database
src/core/firebase.ts - Navigation drawer → Auth state: signs out
src/components/AppDrawer.tsx - Home overview → Navigation drawer: renders navigation
app/home.tsx - Account settings → Navigation drawer: renders navigation
app/settings.tsx - Task list → Navigation drawer: renders navigation
app/tasks/index.tsx - Task calendar → Navigation drawer: renders navigation
app/tasks/calendar.tsx