How hisham-sayed/mafqood works
Mafqood is a missing-person and community-support backend. Its central workflow is to receive lost/found reports, exchange posts with an AI matching service, save returned matches, and notify both post owners. The tree also shows community-feed interactions, direct messaging, family location sharing, authentication, administration, and notification delivery. Sampled handlers confirm parts of the match-notification, family-access, and chat flows; other branches are represented from the tree, so their internal wiring is not inferred.
Main entry points: ReceiveMatchResultsHandler.cs Match results · ReviewFamilyAccessHandler.cs Family access and location · SendMessageHandler.cs Chat messaging · NotificationService.cs Notification service
Components 24
Identity and administration
- Authentication
Mafqood/Features/AuthenticationManagement - Admin tools
Mafqood/Features/AdminManagement
Reports and matching
- Lost/found posts
Mafqood/Entities/Posts/Post.cs - AI matching
Mafqood/Common/AiIntegration/AiModelService.cs - Post sync job
Mafqood/Features/AIIntegrationManagement/Jobs/AiPostSyncJob.cs - Match results
Mafqood/Features/AIIntegrationManagement/ReceiveMatchResults/ReceiveMatchResultsHandler.cs - Match records
Mafqood/Entities/Posts/AiMatchResult.cs
Community and chat
- Feed ranking
Mafqood/Features/FeedManagement/Scoring/PostScoringService.cs - Post interactions
Mafqood/Features/PostInteractionsManagement/AddComment/AddCommentHandler.cs - Chat messaging
Mafqood/Features/ChatMessagesManagement/SendMessage/SendMessageHandler.cs - Chat records
Mafqood/Entities/Chat/ChatMessage.cs
Family care
- Family access and location
Mafqood/Features/FamilyCareManagement/Child/ReviewFamilyAccess/ReviewFamilyAccessHandler.cs - Family records
Mafqood/Entities/FamilyCare/FamilyMember.cs - Location filtering
Mafqood/Common/Location/LocationFilterService.cs
Notification delivery
- Notification service
Mafqood/Common/Notifications/NotificationService.cs - Channel dispatcher
Mafqood/Common/Notifications/Dispatching/NotificationDispatcher.cs - Notification records
Mafqood/Entities/Notifications/Notification.cs - Notification events
Mafqood/Common/Notifications/EventHandlers/AiMatchResultEventHandler.cs - Realtime delivery
Mafqood/Common/Notifications/Dispatching/RealtimeDeliveryChannel.cs - Push delivery
Mafqood/Common/Notifications/Dispatching/PushDeliveryChannel.cs
Other components
- App user
- External AI service
- Firebase Cloud Messaging
- Connected clients
Connections 25
- App user → Authentication: authenticates
- App user → Lost/found posts: reports
- Lost/found posts → Post sync job: syncs posts
- Post sync job → External AI service: submits posts
- External AI service → Match results: returns matches
- Match results → Lost/found posts: reads posts
- Match results → Match records: writes matches
- Match results → Notification events: publishes events
- App user → Feed ranking: browses feed
- App user → Post interactions: interacts
- App user → Chat messaging: sends messages
- Chat messaging → Chat records: writes messages
- Chat messaging → Connected clients: sends realtime updates
- App user → Family access and location: manages family access
- Family access and location → Family records: updates membership
- Family access and location → Location filtering: filters locations
- Family access and location → Notification events: publishes review event
- Notification events → Notification service: creates notifications
- Notification service → Notification records: persists notification
- Notification service → Channel dispatcher: dispatches notification
- Channel dispatcher → Realtime delivery: routes realtime
- Channel dispatcher → Push delivery: routes push
- Realtime delivery → Connected clients: delivers events
- Push delivery → Firebase Cloud Messaging: sends push
- App user → Admin tools: administers