How rohithmaka/bible-app works
This is an Expo mobile Bible and spiritual-growth app. The principal workflow begins with a reader choosing scripture and translation, then reading, searching, and saving verses; parallel experiences support daily devotion, prayer, reading plans, reminders, and community. The graph includes the documented-by-tree feature routes, but several are unsampled, so their internal interactions are not inferred. The README is an unmerged Expo starter template and does not establish product behavior.
Main entry points: bible.tsx Bible reader · useBibleStore.ts Bible state · useSpiritualStore.ts Spiritual state · storage.ts Local storage
Components 34
App experiences
- App routing
src/app/_layout.tsx - Bible reader
src/app/(tabs)/bible.tsx - Bible search
src/app/bible-search.tsx - Discover and library
src/app/(tabs)/discover.tsx - Study workspace
src/app/study-workspace.tsx - Bible stories
src/app/stories.tsx - Onboarding
src/app/onboarding-flow.tsx - Profile and settings
src/app/(tabs)/profile.tsx - Login
src/app/login.tsx
Scripture and plans
- Bible engine
src/engine/bibleEngine.ts - Translation catalog
src/engine/translationCatalog.ts - Bible text data
src/data/bibleData.ts - Multi-Bible service
src/engine/multiBibleService.ts - Reading planner
src/app/one-year-planner.tsx - Plan engine
src/engine/oneYearPlanEngine.ts
Spiritual practice
- Daily devotion
src/app/daily-devotion.tsx - Devotion service
src/services/dailyDevotionService.ts - Devotion content
src/data/dailyDevotionsSeed.ts - Localized devotions
src/data/multilingualDevotions.ts - Prayer and circles
src/app/(tabs)/prayer.tsx - Prayer circles
src/app/prayer-circles.tsx - Reminders
src/app/reminders.tsx
State and services
- Bible state
src/store/useBibleStore.ts - Devotion state
src/store/useDevotionStore.ts - Spiritual state
src/store/useSpiritualStore.ts - Reminder state
src/store/useReminderStore.ts - Reminder notifications
src/services/reminderNotificationService.ts - Authentication
src/services/authService.ts - Supabase client
src/services/supabaseConfig.ts - Local storage
src/storage/storage.ts - Cloud sync
src/services/supabaseSyncService.ts - Devotion sync
src/services/cloudDevotionalSyncService.ts - Usage analytics
src/services/analyticsService.ts
Other components
- App user
Connections 48
- App user → App routing: opens
- App routing → Bible reader: routes to
- App routing → Onboarding: routes to
- App routing → Login: routes to
- Bible reader → Bible state: reads and updates
src/app/(tabs)/bible.tsx - Bible reader → Bible engine: uses
src/app/(tabs)/bible.tsx - Bible reader → Multi-Bible service: uses
src/app/(tabs)/bible.tsx - Bible reader → Translation catalog: uses
src/app/(tabs)/bible.tsx - Bible reader → Spiritual state: reads and updates
src/app/(tabs)/bible.tsx - Bible search → Bible state: reads and updates
src/app/bible-search.tsx - Bible search → Bible engine: searches with
src/app/bible-search.tsx - Bible search → Translation catalog: uses
src/app/bible-search.tsx - Bible engine → Bible text data: reads
src/engine/bibleEngine.ts - Bible engine → Translation catalog: looks up
src/engine/bibleEngine.ts - Multi-Bible service → Bible text data: uses
src/engine/multiBibleService.ts - Multi-Bible service → Translation catalog: uses
src/engine/multiBibleService.ts - Reading planner → Plan engine: uses
src/app/one-year-planner.tsx - Reading planner → Bible state: reads and updates
src/app/one-year-planner.tsx - Reading planner → Spiritual state: reads and updates
- Daily devotion → Devotion state: uses
- Devotion state → Devotion service: loads from
src/store/useDevotionStore.ts - Devotion state → Devotion content: uses
src/store/useDevotionStore.ts - Devotion service → Devotion content: reads
src/services/dailyDevotionService.ts - Devotion content → Localized devotions: provides seed data
src/data/dailyDevotionsSeed.ts - Spiritual state → Localized devotions: gets daily scripture
src/store/useSpiritualStore.ts - Localized devotions → Translation catalog: looks up
src/data/multilingualDevotions.ts - Localized devotions → Bible engine: gets localized names
src/data/multilingualDevotions.ts - Prayer and circles → Spiritual state: reads and updates
src/app/(tabs)/prayer.tsx - Prayer and circles → Cloud sync: uses
src/app/(tabs)/prayer.tsx - Prayer and circles → Cloud sync: uses
src/app/(tabs)/prayer.tsx - Prayer and circles → Bible state: reads and updates
src/app/(tabs)/prayer.tsx - Prayer circles → Spiritual state: uses
- Reminders → Reminder state: reads and updates
src/app/reminders.tsx - Reminder state → Reminder notifications: schedules and cancels
src/store/useReminderStore.ts - Login → Authentication: uses
- Onboarding → Authentication: uses
src/app/onboarding-flow.tsx - Onboarding → Supabase client: uses
src/app/onboarding-flow.tsx - Authentication → Supabase client: authenticates with
src/services/authService.ts - Authentication → Local storage: reads and writes
src/services/authService.ts - Supabase client → Local storage: persists sessions
src/services/supabaseConfig.ts - Bible state → Local storage: persists
src/store/useBibleStore.ts - Bible state → Devotion sync: syncs planner progress
src/store/useBibleStore.ts - Reminder state → Local storage: persists
src/store/useReminderStore.ts - Spiritual state → Local storage: persists
src/store/useSpiritualStore.ts - Devotion state → Local storage: persists
src/store/useDevotionStore.ts - Cloud sync → Supabase client: uses
src/services/supabaseSyncService.ts - Devotion sync → Supabase client: uses
src/services/cloudDevotionalSyncService.ts - Devotion state → Usage analytics: uses
src/store/useDevotionStore.ts