Project Overview

PrimeScore is a real-time sports broadcasting and viewer experience tool that provides live updates, visualizations, and commentary feeds for ongoing games.

High-Level Architecture

PrimeScore uses a client–server architecture:

PrimeScore high-level architecture diagram
Figure 1 — System overview and data flow.

UML Diagrams

PrimeScore use case diagram
Use Case Diagram
PrimeScore state diagram
State Diagram

Basic Wireframe

Wireframe of PrimeScore home page layout
Low-fidelity wireframe for the home page.

API List

Live Update API
Receive and store stat events from external sources.
Feed API
Retrieve current state of the match for front-end display.
Match Setup API
CRUD for game meta (teams, match time, venue).
Display API
Serve structured game data to clients (scoreboards, overlays, etc.).

Current Sprint Backlog

Sprint 1 User Stories

  1. As a viewer, I want to create an account and log in, so that I can access my homepage.
  2. As a viewer, I want to see upcoming matches on my homepage, so that I stay updated on events.
  3. As a viewer, I want to open a profile page, so that I can view my profile details.
  4. As a viewer, I want to edit my personal details, so that my profile stays up-to-date.
  5. As a viewer, I want to log out and return to the Welcome page, so that I exit my session safely.
  6. As a developer, I want to host a documentation site on GitHub Pages, so contributors can access docs easily.
  7. As a developer, I want to set up backend testing, so that I can ensure the system works correctly.
  8. As an admin, I want to create a match using a form, so that it appears under upcoming matches for viewers.
  9. As an admin, I want to log in to the Admin page, so that I can access the admin homepage.
  10. As a developer, I want to deploy the app to Vercel (frontend) and Azure (backend), so that it’s hosted online.

Developer Setup Guide

git clone https://github.com/your-repo/primescore.git

# Terminal 1 (frontend)
cd frontend
npm install
npm run dev

# Terminal 2 (backend)
cd backend
npm install
npm run dev

Ensure you have Node.js and npm installed before running the commands above.

Git Workflow Overview