How 1burhanuddin/cricheros-app works
CricHeros is documented as a Flutter cricket scoring and tournament-management app backed by Firebase. Its user journey spans sign-in, team and match setup, live scoring, and sharing or following scorecards; tournaments, profiles, statistics, and notifications are additional product capabilities. The supplied tree exposes backend functions and platform launchers, but not Flutter feature code, so app-stage connections are documented or unverified rather than implementation-level claims. Backend relationships below are based on sampled service/repository code; UI and Firebase client flows are not sampled.
Main entry points: khelo Flutter app · user_repository.js User repository · index.js Function entry and wiring · match_service.js Match service
Components 25
Flutter product
- Flutter app
khelo - Authentication
khelo - Team and squad setup
khelo - Match setup
khelo - Ball-by-ball scoring
khelo - Tournament management
khelo - Team and player profiles
khelo - Player statistics
khelo - Shareable scorecards
khelo - Public match feed
khelo
Cloud functions
- Function entry and wiring
khelo/functions/src/index.js - Auth service
khelo/functions/src/auth/auth_service.js - Team service
khelo/functions/src/team/team_service.js - Match service
khelo/functions/src/match/match_service.js - Leaderboard service
khelo/functions/src/leaderboard/leaderboard_service.js - Notification service
khelo/functions/src/notification/notification_service.js
Firebase data
- User repository
khelo/functions/src/user/user_repository.js - User records
khelo/functions/src/user/user_repository.js - Team repository
khelo/functions/src/team/team_repository.js - Match repository
khelo/functions/src/match/match_repository.js - Leaderboard repository
khelo/functions/src/leaderboard/leaderboard_repository.js - Leaderboard records
khelo/functions/src/leaderboard/leaderboard_repository.js
Other components
- Player or organizer
- Cloud Firestore
- Firebase Cloud Messaging
Connections 29
- Player or organizer → Flutter app: uses
README.md - Flutter app → Authentication: signs in
README.md - Flutter app → Team and squad setup: sets up
README.md - Flutter app → Match setup: configures
README.md - Flutter app → Ball-by-ball scoring: records deliveries
README.md - Flutter app → Tournament management: organizes
README.md - Flutter app → Team and player profiles: maintains
README.md - Flutter app → Player statistics: tracks
README.md - Flutter app → Shareable scorecards: shares
README.md - Flutter app → Public match feed: discovers matches
README.md - Function entry and wiring → Auth service: wires
khelo/functions/src/index.js - Function entry and wiring → Team service: wires
khelo/functions/src/index.js - Function entry and wiring → Match service: wires
khelo/functions/src/index.js - Function entry and wiring → Leaderboard service: wires
khelo/functions/src/index.js - Function entry and wiring → Notification service: wires
khelo/functions/src/index.js - Auth service → User repository: creates user
khelo/functions/src/auth/auth_service.js - User repository → User records: reads and writes
khelo/functions/src/user/user_repository.js - User repository → Cloud Firestore: uses
khelo/functions/src/user/user_repository.js - Team service → User repository: loads players
khelo/functions/src/team/team_service.js - Team service → Notification service: sends alerts
khelo/functions/src/team/team_service.js - Match repository → Match service: notifies upcoming
khelo/functions/src/match/match_repository.js - Match service → Team repository: loads teams
khelo/functions/src/match/match_service.js - Match service → User repository: loads contributors
khelo/functions/src/match/match_service.js - Match service → Notification service: sends alerts
khelo/functions/src/match/match_service.js - Leaderboard service → Leaderboard repository: loads and updates stats
khelo/functions/src/leaderboard/leaderboard_service.js - Leaderboard repository → Leaderboard records: reads and writes
khelo/functions/src/leaderboard/leaderboard_repository.js - Leaderboard repository → Cloud Firestore: uses
khelo/functions/src/leaderboard/leaderboard_repository.js - Notification service → User repository: loads sessions
khelo/functions/src/notification/notification_service.js - Notification service → Firebase Cloud Messaging: sends multicast
khelo/functions/src/notification/notification_service.js