Tallytistics

Automated Live Data-Driven Platform

Live football data that loads like it was already there.

A football scores and stats site. We built the React app and the Node API behind it: data is fetched once, finished seasons are kept as JSON, and every page is served from the nearest copy.

The Stat Lab asks for the live season

Sample data · step 1 of 5

Nearest copy first

  • Memory

    Hot copies, three hours

  • Disk

    Finished seasons as JSON

  • Sportmonks

    Football data API

GET /api/statlab

Premiership, 2026/2027

Looking
Request
Live season
Memory
Disk
Sportmonks
Response

Shows up in

  • Stat Lab

    13 leaderboards

  • Rankings

    Clubs and players

  • Player pages

    Every stat, ranked

askThe Stat Lab asks for the season being played now

13

Stat Lab leaderboards

22

seasons of Premiership history

3

cache layers before the provider

58×

faster squad fetch

89%

smaller payloads on the wire

Client
Tallytistics
Industry
Sports media and data
What we did
Product design, React app, Node API, data pipeline
Surfaces
Web app, light and dark, phone to desktop
Data
Sportmonks Football API, GNews
Year
2026

From the provider to the page

Fetched once, stored as JSON, served nearest first.

Every request walks the same line: memory, then disk, then the provider, and stops at the first copy it finds. Watch four real cases play out.

Premiership 2025/2026 Stat LabStep 1/5

Browser

React + TanStack Query

Request

API

Node + Express

Memory

Hot copies, short TTL

Disk

JSON files

Sportmonks

Football data API

  1. 1. Browser

    The Stat Lab asks for a season that has already ended.

    GET /api/statlab?leagueId=501&seasonId=25598
  2. 2. API

    The API looks for the nearest copy first.

  3. 3. Memory

    Memory is empty after a restart.

  4. 4. Disk

    The season ended, so it was written to disk once and kept.

    cache/statlab/501_25598.json
  5. 5. Browser

    171 KB of JSON leaves gzipped and marked as never changing.

    Cache-Control: public, max-age=31536000, immutable

The product

Every screen, on live data.

Captured from tallytistics.com on 20 Nov 2026, light and dark, desktop and phone.

tallytistics.com
Tallytistics Home screen
Tallytistics Home screen on a phone

Home

Scores, stories, the table and the Stat Lab on one page.

Measured, not estimated

Slow paths, made fast.

Each figure below was timed on the real backend before and after the change.

Building one league season

6 min 02 s~6 s

One request per squad with statistics nested, instead of one per player.

A finished season, memory cold

23 s1.7 s

Read from the JSON file on disk instead of rebuilt from the provider.

Requests while backfill runs

19.6 s2 to 16 ms

Percentile ranks sorted once per season and found by binary search, with the event loop given room to breathe.

Repeat answers for a finished season

~900 ms~7 ms

The league lookup that ran on every request is memoised for an hour.

Stat Lab payload on the wire

177 KB20 KB

Gzip compression on every API response.

Design system

Two accents, one scale for heat.

Volt does almost all the work. Hot is kept rare, red means a match is live and nothing else, and a five-step thermal scale is used only for form and momentum.

Volt

#38BDF0

Primary accent

Hot

#A2258E

Rare second accent

Live

#EF4444

Only for live matches

Night

#0A0A0F

Dark theme page

Mist

#EEF1F7

Light theme page

Thermal scale, for form and momentum only

FrozenScorching

Type

stat lab

Plus Jakarta Sans across the product: lowercase, tight display headings over a calm, even body. Numbers sit in tabular figures so columns line up.

Built with

Frontend

  • React 19
  • TypeScript
  • Vite
  • React Router 7
  • TanStack Query
  • Tailwind CSS v4
  • Headless UI
  • Hugeicons
  • Lenis

Backend

  • Node.js
  • Express
  • Compression
  • Helmet
  • Rate limiting

Data

  • Sportmonks Football API v3
  • GNews
  • JSON disk cache

Infrastructure

  • Docker Compose
  • nginx
  • Vercel

Next case study

Nestly

Short-term rentals that run themselves

Sitting on data that should feel instant?

Tell us where your numbers come from and how fast they change. We will show you what to store, what to keep live and what never to guess.