How nepovtor/mobile-messenger-ios works
Mobile Messenger is a multi-client messaging platform: iOS and web clients support sign-in, conversations, contacts, profiles, and opt-in location sharing; a NestJS backend provides REST APIs, native WebSocket realtime, and push delivery. The graph shows these documented product stages and the backend persistence/integration layer. Relationship evidence is limited to README statements and sampled source; unsampled module wiring is not asserted.
Main entry points: App.tsx Web app shell · ContentView.swift iOS app shell · DialogueView.swift Chat experience · data-source.ts PostgreSQL data
Components 28
iOS experience
- iOS app shell
MobileMessengerIOS/App/Bootstrap/ContentView.swift - Phone and Telegram auth
MobileMessengerIOS/Presentation/Auth/AuthView.swift - Chat experience
MobileMessengerIOS/Presentation/Chat/DialogueView.swift - Contacts
MobileMessengerIOS/Presentation/Contacts/ContactsView.swift - Profile
MobileMessengerIOS/Presentation/Profile/ProfileView.swift - Shared locations
MobileMessengerIOS/Presentation/Map/MapView.swift - iOS data services
MobileMessengerIOS/Data/Repositories/DefaultChatRepository.swift - Local chat store
MobileMessengerIOS/Data/Local/SwiftDataChatStore.swift
Web experience
- Web app shell
web/src/App.tsx - Web authentication
web/src/features/auth/ui/LoginPage.tsx - Web messenger
web/src/features/chat/ui/MessengerPage.tsx - Web contacts
web/src/features/contacts/api/contactsApi.ts - Web profile
web/src/features/profile/api/profileApi.ts - Web location map
web/src/features/location/ui/MapPage.tsx - Web push settings
web/src/features/push/ui/PushNotificationsPanel.tsx
Backend domains
- Auth and sessions
server/src/modules/auth/auth.service.ts - Chat services
server/src/modules/chat/chat.service.ts - Contacts API
server/src/modules/contacts/contacts.service.ts - Profile API
server/src/modules/users/users.service.ts - Location API
server/src/modules/location/location.service.ts - Realtime gateway
server/src/modules/realtime/realtime.gateway.ts - Media uploads
server/src/modules/media/media.service.ts - Push delivery
server/src/modules/push/push.service.ts
Platform services
- PostgreSQL data
server/src/database/data-source.ts
Other components
- Messenger user
- Telegram verification
- Apple Push service
- Web Push service
Connections 38
- Messenger user → iOS app shell: uses
README.md - Messenger user → Web app shell: uses
README.md - iOS app shell → Phone and Telegram auth: offers
README.md - iOS app shell → Chat experience: offers
README.md - iOS app shell → Contacts: offers
README.md - iOS app shell → Profile: offers
README.md - iOS app shell → Shared locations: offers
README.md - Chat experience → iOS data services: uses
- iOS data services → Local chat store: persists
MobileMessengerIOS/Data/Repositories/DefaultChatRepository.swift - iOS app shell → Web app shell: alternative client
README.md - Web app shell → Web authentication: offers
README.md - Web app shell → Web messenger: offers
README.md - Web app shell → Web contacts: offers
README.md - Web app shell → Web profile: offers
README.md - Web app shell → Web location map: offers
README.md - Web app shell → Web push settings: offers
README.md - Phone and Telegram auth → Auth and sessions: REST auth
README.md - Chat experience → Chat services: REST chat
README.md - Contacts → Contacts API: REST contacts
README.md - Profile → Profile API: REST profile
README.md - Shared locations → Location API: REST location
README.md - Chat experience → Realtime gateway: WebSocket events
README.md - Chat experience → Media uploads: uploads media
README.md - Web messenger → Chat services: REST chat
README.md - Web messenger → Realtime gateway: WebSocket events
README.md - Web authentication → Auth and sessions: REST auth
README.md - Web contacts → Contacts API: REST contacts
README.md - Web profile → Profile API: REST profile
README.md - Web location map → Location API: REST location
README.md - Web push settings → Push delivery: registers subscriptions
README.md - Auth and sessions → Telegram verification: verifies identity
README.md - Auth and sessions → PostgreSQL data: stores sessions
server/src/modules/auth/auth.service.ts - Chat services → PostgreSQL data: stores messages
- Contacts API → PostgreSQL data: stores contacts
- Profile API → PostgreSQL data: stores profiles
- Location API → PostgreSQL data: stores latest point
README.md - Push delivery → Apple Push service: delivers APNs
README.md - Push delivery → Web Push service: delivers Web Push
README.md