How isratarna/mosqueconnect works
MosqueConnect is a React web platform backed by a Laravel REST API and MySQL. Worshippers discover mosques and prayer times, use community features, or plan a trip around reachable jamaats; mosque committees manage their mosque and platform administrators oversee the directory. The graph follows the documented browser-to-API workflow and preserves major product branches, including Eid, fundraising, community, and administration. Several subsystem links are documented in the README rather than shown in sampled implementation, so those edges cite the README; unsampled details are not inferred.
Main entry points: App.jsx React application · api.php Laravel REST API · JourneyPlannerService.php Journey planner · Mosque.php Mosque directory data
Components 22
Web experience
- React application
apps/web/src/App.jsx - English and Bangla
apps/web/src/hooks/useLocale.js
Mosque discovery
- Mosque profiles
apps/web/src/pages/MosqueProfile.jsx - Browse and search
apps/web/src/pages/Browse.jsx - Eid jamaats
apps/web/src/pages/Eid.jsx - Prayer schedules
apps/api/app/Services/PrayerScheduleService.php
Community features
- Community hub
apps/web/src/pages/Community.jsx - Campaign fundraising
apps/web/src/pages/Campaigns.jsx - Events and registration
apps/web/src/pages/EventDetails.jsx - Blood requests
apps/web/src/pages/BloodDonation.jsx
Prayer journey
- Journey planner
apps/api/app/Services/Journey/JourneyPlannerService.php - Route provider
apps/api/app/Services/Journey/GeoapifyRoutingClient.php
Platform services
- Mosque administration
apps/web/src/pages/AdminDashboard.jsx - Platform oversight
apps/web/src/pages/SuperAdminDashboard.jsx - Laravel REST API
apps/api/routes/api.php - Authentication and roles
apps/api/app/Http/Controllers/Auth/AccountController.php - Mosque directory data
apps/api/app/Models/Mosque.php - Campaign data
apps/api/app/Models/Campaign.php - MySQL
Other components
- Worshippers
- Mosque committees
- Platform admins
Connections 27
- Worshippers → React application: use
- Mosque committees → React application: manage mosques
- Platform admins → React application: oversee platform
- React application → English and Bangla: renders in
- React application → Mosque profiles: routes to
apps/web/src/App.jsx - React application → Browse and search: routes to
apps/web/src/App.jsx - React application → Eid jamaats: routes to
apps/web/src/App.jsx - React application → Community hub: routes to
apps/web/src/App.jsx - React application → Campaign fundraising: routes to
apps/web/src/App.jsx - React application → Events and registration: routes to
apps/web/src/App.jsx - React application → Blood requests: routes to
apps/web/src/App.jsx - React application → Journey planner: offers
- Mosque committees → Mosque administration: manage content
- Platform admins → Platform oversight: moderate
- React application → Laravel REST API: HTTPS JSON
- Laravel REST API → Authentication and roles: authenticates
- Laravel REST API → Mosque directory data: queries
- Laravel REST API → Campaign data: manages
- Mosque directory data → MySQL: persists in
- Campaign data → MySQL: persists in
- Journey planner → Route provider: requests routes
- Journey planner → Prayer schedules: resolves prayer windows
- Journey planner → Mosque directory data: ranks reachable mosques
- Mosque profiles → Prayer schedules: shows jamaat times
- Campaign fundraising → Campaign data: shows progress
- Mosque administration → Laravel REST API: manages mosque
- Platform oversight → Laravel REST API: administers