How saimsm/studysphere-mobile-application- works
StudySphere is an Expo/React Native study organizer. Users open the app and navigate to assignment, goal, timetable, and progress screens; the sampled screens call feature services, while app context loads assignment and goal data for shared state. Assignment and goal services persist data in AsyncStorage; timetable persistence helpers are present, but the sampled evidence does not establish how the timetable screen or service uses them. The map includes the shared theme layer; some links rely on source-index references rather than inspected call bodies.
Main entry points: assignmentsApi.ts Assignments service · use-theme-color.ts Theme hook · AppContext.tsx App context · goalsApi.ts Goals service
Components 21
App navigation
- App shell
app/_layout.tsx - Tab navigation
app/(drawer)/(tabs)/_layout.tsx
Study workflows
- Assignments screen
app/(drawer)/(tabs)/assignments.tsx - Goals screen
app/(drawer)/(tabs)/goals.tsx - Timetable screen
app/(drawer)/(tabs)/timetable.tsx - Progress screen
app/(drawer)/progress.tsx
State and persistence
- App context
src/context/AppContext.tsx - Assignments service
src/services/assignmentsApi.ts - Goals service
src/services/goalsApi.ts - Progress service
src/services/progressApi.ts - Timetable service
src/services/timetableApi.ts - Timetable storage
storage/timetableStorage.ts - Timetable types
types/timetable.ts
Shared presentation
- Themed text
components/themed-text.tsx - Themed view
components/themed-view.tsx - Theme hook
hooks/use-theme-color.ts - Theme colors
constants/theme.ts - Color scheme
hooks/use-color-scheme.ts - Icon symbols
components/ui/icon-symbol.tsx
Other components
- User
- AsyncStorage
Connections 18
- User → App shell: opens
README.md - App shell → App context: provides
app/_layout.tsx - User → Tab navigation: navigates
README.md - Assignments screen → Assignments service: loads and updates
app/(drawer)/(tabs)/assignments.tsx - Goals screen → Goals service: loads and updates
app/(drawer)/(tabs)/goals.tsx - Timetable screen → Timetable service: uses
app/(drawer)/(tabs)/timetable.tsx - Progress screen → Assignments service: reads
app/(drawer)/progress.tsx - App context → Assignments service: loads
src/context/AppContext.tsx - App context → Goals service: loads
src/context/AppContext.tsx - Assignments service → AsyncStorage: reads and writes
src/services/assignmentsApi.ts - Goals service → AsyncStorage: reads and writes
src/services/goalsApi.ts - Progress service → Assignments service: references
src/services/progressApi.ts - Timetable storage → AsyncStorage: reads and writes
storage/timetableStorage.ts - Timetable storage → Timetable types: uses
storage/timetableStorage.ts - Themed text → Theme hook: gets color
components/themed-text.tsx - Themed view → Theme hook: gets color
components/themed-view.tsx - Theme hook → Theme colors: selects colors
hooks/use-theme-color.ts - Theme hook → Color scheme: reads scheme
hooks/use-theme-color.ts