How hossainkhan-dot/our-family-tree works
Family Legacy Archive is a local-first family-history app: users build and explore a family tree, then preserve or share it through portable exports and optional Google Drive features. The graph follows app navigation into genealogy views and data access, then shows the local archive and backup/cloud capabilities. Some cloud orchestration and database internals were not excerpted; uncertain internal links are omitted rather than inferred.
Main entry points: App.tsx App navigation · driveBackup.ts Drive backup · package.ts Portable data package · repo.ts Family data operations
Components 29
Application
- App navigation
src/App.tsx - Generation overview
src/components/Funnel.tsx - Family tree
src/components/TreeView.tsx - People and profiles
src/components/People.tsx - Person editor
src/components/PersonForm.tsx - Relationship explorer
src/components/Explore.tsx - Family management
src/components/Manage.tsx - Backup interface
src/components/Backup.tsx - Cloud controls
src/components/CloudPanel.tsx - Account access screen
src/components/Gate.tsx
Family history
- Relationship engine
src/core/relations.ts
Local archive
- Family data operations
src/db/repo.ts - Roles and approvals
src/db/access.ts - Database context
src/db/DbContext.tsx - Local SQL database
src/db/open.ts - Local snapshots
src/db/snapshots.ts - Portable data package
src/db/package.ts - GEDCOM exchange
src/db/gedcom.ts - Media records
src/db/media.ts - Local media storage
src/db/mediaStore.ts - ZIP and hashing
src/db/zip.ts
Cloud and sharing
- Cloud runtime
src/cloud/runtime.ts - Family synchronization
src/cloud/sync.ts - Drive backup
src/cloud/driveBackup.ts - Google Drive client
src/cloud/drive.ts - Google OAuth
src/cloud/google.ts - Token session
src/cloud/session.ts
Other components
- Family historian
- Google services
Connections 37
- Family historian → App navigation: uses
src/App.tsx - App navigation → Generation overview: shows
src/App.tsx - App navigation → Family tree: opens
src/App.tsx - App navigation → People and profiles: opens
src/App.tsx - App navigation → Backup interface: opens
src/App.tsx - App navigation → Family management: opens
src/App.tsx - Family tree → Relationship engine: uses
src/core/relations.ts - People and profiles → Person editor: opens
src/components/People.tsx - People and profiles → Relationship engine: uses
src/components/People.tsx - Person editor → Family data operations: saves through
src/db/repo.ts - Relationship explorer → Relationship engine: uses
src/components/Explore.tsx - Family management → Relationship explorer: opens
src/components/Manage.tsx - Family data operations → Relationship engine: checks cycles
src/db/repo.ts - Database context → Local SQL database: opens
src/db/DbContext.tsx - Database context → Family data operations: loads data
src/db/DbContext.tsx - Database context → Local snapshots: creates snapshot
src/db/DbContext.tsx - Family data operations → Local SQL database: reads and writes
src/db/repo.ts - Roles and approvals → Family data operations: applies changes
src/db/access.ts - Backup interface → Portable data package: exports and imports
src/components/Backup.tsx - Backup interface → GEDCOM exchange: exchanges GEDCOM
src/components/Backup.tsx - Portable data package → GEDCOM exchange: includes exchange data
src/db/package.ts - Portable data package → Media records: packages media
src/db/package.ts - Portable data package → ZIP and hashing: uses archive format
src/db/package.ts - Media records → Local media storage: stores media
src/db/mediaStore.ts - Cloud controls → Account access screen: opens account flow
src/components/CloudPanel.tsx - Cloud controls → Cloud runtime: configures cloud
src/components/CloudPanel.tsx - Cloud controls → Family synchronization: starts synchronization
src/components/CloudPanel.tsx - Cloud runtime → Family synchronization: coordinates
src/cloud/runtime.ts - Cloud runtime → Drive backup: coordinates
src/cloud/runtime.ts - Family synchronization → Google Drive client: transfers family data
src/cloud/sync.ts - Drive backup → Google Drive client: uses
src/cloud/driveBackup.ts - Drive backup → Portable data package: packages data
src/cloud/driveBackup.ts - Drive backup → Media records: uses media
src/cloud/driveBackup.ts - Drive backup → ZIP and hashing: uses archive tools
src/cloud/driveBackup.ts - Token session → Google OAuth: refreshes tokens
src/cloud/session.ts - Google OAuth → Google services: authenticates with
src/cloud/google.ts - Google Drive client → Google services: accesses Drive