How boyiajas/omni247 works
Omni247 is an incident-reporting product with a React Native app and a Laravel backend, plus browser-based client and administration surfaces. The main user journey is account access, location- and media-assisted report creation, submission for review, and viewing reports on feeds or maps; engagement includes alerts and rewards. The tree and README also show agency dashboards, privacy controls, and moderation/verification capabilities. Some implementation paths are unsampled, so the graph limits those connections to documented or directly evidenced interactions.
Main entry points: ApiClient.js API client · AppNavigator.js App navigation · report Report creation · api.php API routes
Components 24
Mobile app
- App navigation
src/navigation/AppNavigator.js - Sign in and register
src/screens/auth - Report creation
src/screens/report - Location services
src/services/location - Media services
src/services/media - API client
src/services/api/ApiClient.js - Feeds and maps
src/screens/main - Rewards screens
src/screens/rewards
Reporting backend
- API routes
backend/routes/api.php - Authentication API
backend/app/Http/Controllers/Api/AuthController.php - Client report API
backend/app/Http/Controllers/Client/ClientReportController.php - Report records
backend/app/Models/Report.php - Verification pipeline
backend/app/Services/Verification/VerificationPipeline.php - Moderation jobs
backend/app/Jobs
Engagement services
- Report and media APIs
src/services/api - Notifications
backend/app/Http/Controllers/Api/NotificationController.php - Rewards and achievements
backend/app/Services/AchievementService.php
Web surfaces
- Client portal
backend/resources/js/views/client - Admin dashboard
backend/resources/js/views - Public landing feed
backend/app/Http/Controllers/LandingController.php
Operations
- Admin APIs
backend/app/Http/Controllers/Admin - Dashboard analytics
backend/app/Http/Controllers/Admin/DashboardController.php
Other components
- Reporter
- Push provider
Connections 24
- Reporter → App navigation: uses
- App navigation → Sign in and register: opens
- App navigation → Report creation: opens
- Report creation → Location services: gets location
- Report creation → Media services: captures media
- Sign in and register → API client: sends credentials
- API client → API routes: sends requests
- API routes → Authentication API: dispatches
- Report creation → API client: submits report
- API routes → Client report API: dispatches
- Client report API → Report records: creates and reads
- Feeds and maps → API client: requests feeds
- API client → Report and media APIs: uses
- Report and media APIs → API routes: sends requests
- Public landing feed → Report records: reads verified reports
- Verification pipeline → Report records: evaluates report
- Admin dashboard → Admin APIs: requests operations
- Admin APIs → Dashboard analytics: loads analytics
- Dashboard analytics → Report records: queries reports
- Client portal → Client report API: requests reports
- Rewards screens → Report and media APIs: requests rewards
- App navigation → Notifications: shows notifications
- Notifications → Push provider: sends alerts
- Moderation jobs → Verification pipeline: supports review