How svenson95/reelscore works
ReelScore is a football livescore web application centered on browsing fixtures and match details, with predictions and team-form analysis. A visitor enters the Angular client, navigates to the dated overview, competition tables, or a fixture page, and receives data from the Express API backed by MongoDB. The API also exposes search, fixture analyses and evaluations, and livestream functionality. The README documents the data source and product capabilities; unsampled client data-access and livestream internals are represented at subsystem level, without inferring their internal call chains.
Main entry points: app.ts API application · mongodb.helper.ts MongoDB access · app.routes.ts App routes · features Client data access
Components 19
Angular client
- App routes
apps/client/src/app/app.routes.ts - Fixture overview
apps/client/src/app/features/overview - Competition view
apps/client/src/app/features/competition/competition.page.ts - Match details
apps/client/src/app/features/match/match.page.ts - Client data access
apps/client/src/app/features
Express API
- API application
apps/api/src/app.ts - Football data endpoints
apps/api/src/database - Search
apps/api/src/search/search.controller.ts - Fixture analyses
apps/api/src/fixture-analyses/fixture-analyses.controller.ts - Fixture evaluations
apps/api/src/fixture-evaluations/fixture-evaluations.controller.ts - Livestream
apps/api/src/livestream
Football data
- MongoDB access
apps/api/src/database/mongodb.helper.ts - Fixture records
apps/api/src/database/fixture-events/fixture-events.model.ts - Standings records
apps/api/src/database/standings/standings.model.ts - Top scorer records
apps/api/src/database/top-scorers/top-scorers.model.ts
Live updates
- Realtime handling
apps/client/src/app/core/realtime/realtime-update.service.ts - Live refresh
apps/client/src/app/shared/services/live-refresh/live-refresh.service.ts - Realtime service
apps/client/src/app/shared/services/realtime/realtime.service.ts
Other components
- Football fan
Connections 22
- Football fan → App routes: navigates
apps/client/src/app/app.routes.ts - App routes → Fixture overview: routes to
apps/client/src/app/app.routes.ts - App routes → Competition view: routes to
apps/client/src/app/app.routes.ts - App routes → Match details: routes to
apps/client/src/app/app.routes.ts - Fixture overview → Client data access: loads data
apps/client/src/app/features/overview/services/overview-refresh.service.ts - Competition view → Client data access: loads data
- Match details → Client data access: loads data
- Client data access → API application: requests data
README.md - API application → Football data endpoints: mounts routes
apps/api/src/app.ts - API application → Search: mounts route
apps/api/src/app.ts - API application → Fixture analyses: mounts route
apps/api/src/app.ts - API application → Fixture evaluations: mounts route
apps/api/src/app.ts - API application → Livestream: mounts route
apps/api/src/app.ts - Search → MongoDB access: queries
apps/api/src/search/search.controller.ts - Fixture analyses → Football data endpoints: reads fixtures/events
apps/api/src/fixture-analyses/fixture-analyses.controller.ts - Fixture evaluations → Football data endpoints: loads fixture history
apps/api/src/fixture-evaluations/fixture-evaluations.controller.ts - Football data endpoints → MongoDB access: accesses database
apps/api/src/database/fixture-statistics/fixture-statistics.controller.ts - MongoDB access → Fixture records: reads and writes
- MongoDB access → Standings records: reads and writes
- MongoDB access → Top scorer records: reads and writes
- Realtime service → Live refresh: drives refresh
apps/client/src/app/shared/services/realtime/realtime.service.ts - Realtime handling → Realtime service: receives updates
apps/client/src/app/core/realtime/realtime-update.service.ts