Public frontend for DEL hockey statistics. This repository contains a static AngularJS frontend for presenting player, team, and career data.
- Architecture: static single-page app with AngularJS 1.7
- Styling: Bootstrap 4, Angular Material, and project-specific CSS files
- Data sources: JSON/CSV files from
data/as well as external assets - Special note: This repository is a public subset of
del_stats_frontend_ext
/index.html– application entry point/js– AngularJS app, routing, and controllers/css– stylesheets/cfg– configuration and column definitions/custom_directives– AngularJS templates for reusable tables and UI blocks/*.html– route templates
Since this is a static frontend, a simple local web server is sufficient:
cd del_stats_frontend
python3 -m http.server 8000You can then open the application at http://localhost:8000/index.html.
A small Node-based tooling layer is available for initial reproducible repository checks.
pnpm install --frozen-lockfile
pnpm checkAt the moment, the CI intentionally checks only the core repository and workflow files with Prettier. The workflow in .github/workflows/ci.yml uses Node.js 22 together with pnpm and runs on pushes and pull requests. This keeps the setup small, understandable, and easy to port.
The GitHub Action is located at .github/workflows/ci.yml and runs on pushes and pull requests.
The frontend is a fully static application with no build step. Releases are deployed by pulling the latest commits directly into the web server's document root:
git pullNo compilation, bundling, or restart is required. The web server serves the files as-is.
None of the files under data/ are tracked in this repository. The .gitignore rule data/* excludes all of them. They are generated by the del_stats_backend pipeline and must be copied into place before the frontend is usable.
The following structure is expected at runtime:
| Path | Description |
|---|---|
data/attendance.json |
Season-wide attendance figures |
data/clinched_data.json |
Clinching state per team and season |
data/del_players.json |
Master player list |
data/po_series.json |
Playoff series results |
data/{season}/ |
Per-season player, goalie, and team game stats (JSON and CSV) |
data/career_stats/ |
Aggregated career stats per player and team |
data/h2h_data/ |
Head-to-head records for each team pair |
data/team_records/ |
All-time and playoff records per team |
data/calendars/ |
ICS calendar files per team (also excluded via *.ics) |
po/ |
Player portrait images (excluded via po/*) |
This repository is a public subset of del_stats_frontend_ext. Any change merged here must be ported to the private superset repository manually. The data/ pipeline itself lives in del_stats_backend and is independent of both frontend repositories.
To keep changes traceable between the public and private repositories:
- Keep changes small and clearly focused.
- Preserve the existing file structure and paths whenever possible.
- Only perform refactorings when they provide clear value and are easy to port.
- In change descriptions, always specify which files and behavior are affected.
- Continue improving the README, contributor documentation, and repository hygiene
- Further centralize configuration such as season values and data sources
- Add more automated checks and CI coverage
- Gradually split large controllers into smaller units
See CONTRIBUTING.md.