Skip to content

code-sidd/ScoreTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CricTrackPro

A cricket score tracking platform combining international match data with user-generated local cricket records.

Live Demo β€’ Documentation β€’ Issues


Table of Contents


Quick Start

Prerequisites

  • Node.js (v14 or higher)

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/crictrachpro.git
    cd crictrachpro
  2. Install dependencies

    npm install
  3. Set up environment variables
    Create a .env.local file in the project root:

    GEMINI_API_KEY=your_gemini_api_key_here
  4. Run the development server

    npm run dev
  5. Open in browser
    Visit http://localhost:3000


πŸ“± Product Overview

CricTrackPro is a digital scorebook for amateur and local cricket. It lets players and organizers own, preserve, and showcase their personal cricket recordsβ€”enabling weekend league players to move beyond scattered WhatsApp threads and notebooks.

Core Philosophy

  • Not a replacement for professional cricket analytics platforms
  • Not designed for ball-by-ball international predictive analysis
  • Focused on grassroots-level record keeping and community

Problem & Solution

The Problem

While international cricket data is everywhere, local and amateur cricket remains largely undocumented.

Players and organizers struggle with:

  • ❌ No permanent ownership of local match records
  • ❌ Loss of personal statistics over time
  • ❌ Scattered scorekeeping across WhatsApp, notebooks, or spreadsheets
  • ❌ Limited visibility of league or friendly matches beyond the ground

Existing cricket apps optimize for professional cricket, leaving a gap for grassroots-level record keeping.

Target Users

Primary Personas:

  • Amateur cricketers
  • Weekend league organizers and players

Non-Goals:

  • Deep analytical breakdowns of international cricket
  • Replacement for professional scoring/broadcast systems
  • Ball-by-ball predictive analytics (at this stage)

Key Features

1. International Matches (Read-Only)

  • Live and recent international match scores
  • Data sourced from free, publicly available cricket APIs
  • View-only experience for reliability

2. User-Generated Matches & Tournaments

  • Create local matches, leagues, or tournaments
  • Add players and assign an admin role
  • Admin-controlled scoring and match progression
  • Automatic player profile linking
  • Public visibility of local scorecards

Architecture & Design Decisions

Jobs To Be Done (JTBD)

When I open the app, I want to quickly view live international matches and live local matches created by users, so that I can stay updated while also tracking matches I personally play in or care about.

Two Distinct Experiences

Component Behavior Purpose
International Matches Read-only Reliability + clarity
User-Created Matches Admin-editable Ownership + control

Access Control & Collaboration Model

User Type International Matches User-Created Matches
Any User βœ… Read-only βœ… View all
Match Admin βœ… Read-only βœ… Full edit + scoring
Non-Admin βœ… Read-only βœ… View only

Design Philosophy:

  • Admin-only editing reduces collaboration complexity
  • Minimizes conflict resolution overhead in MVP
  • Admin retains deliberate control over match closure

πŸ”§ Prototype Details

Current State

  • βœ… Fully clickable user flows
  • βœ… Mocked data (no backend persistence)
  • βœ… Navigation & role clarity validated
  • βœ… Match creation and viewing flows

Validated Through Prototype

  • Navigation patterns
  • Role clarity and permissions
  • Match creation workflows
  • User profile flows

πŸ“Œ Important Note

The prototype focuses on product behavior and decision logic, not technical implementation. No engineering code is claimed.


πŸ› οΈ Tools Used

  • Google AI Studio – Prototype generation and interaction flows
  • Node.js – Backend runtime
  • Gemini API – AI-powered features

βš–οΈ Key Tradeoffs

Decision Choice Rationale
Speed vs Accuracy Speed + mocked data Faster iteration before building full scoring engine
Free APIs vs Reliability Free APIs Validate user demand before investing in paid sources
Collaboration Model Admin-only editing Reduce complexity; avoid multi-scorer conflict resolution

⚠️ Risks & Open Questions

Scaling

  • How will the system handle increased concurrent usage during live matches?

Retention

  • How do we sustain engagement beyond match days?

Abuse Prevention

  • How do we prevent incorrect or malicious scoring by admins?

Data Accuracy

  • How dependent are we on free external API reliability?

Success Metrics (Hypothetical)

  • Match Creation Rate – Local matches per daily active user
  • Profile Completion Rate – User signup to profile completion ratio
  • Engagement – DAU / MAU ratio
  • Organizer Retention – Repeat match creation by same organizers

πŸ—ΊοΈ Roadmap

Phase 2: Local League Management

  • Season-based leagues
  • Points tables and standings

Phase 3: Advanced Personal Stats

  • Batting and bowling summaries
  • Player comparisons against league averages
  • Contextual insights inspired by international-level statistics

About This Project

This project is part of my Product Management portfolio, created to demonstrate:

βœ… End-to-end PRD thinking
βœ… Clear scoping and tradeoffs
βœ… Consumer + systems product judgement
βœ… Comfort working with AI-assisted product tooling

Intent: Emphasize product clarity and decision-making over technical implementation.


πŸ“ License

This project is licensed under the MIT License – see the LICENSE file for details.


πŸ’¬ Questions?

Feel free to open an issue or reach out for questions about the product strategy or implementation.

Happy tracking! 🏏

About

Simple App to track scores of your favourite sport.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published