NBA Feed
Your teams' news and games, with scores hidden until you reveal them.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A hockey stats website for the NHL, based on the soccer stats site Fotmob. It shows
scores, standings, game details, team and player pages, leaderboards, the playoff bracket and the draft, all from
publicly available NHL API data.
The app has two parts:
• HokMob.App/ – ASP.NET Core (.NET 7) backend. It serves the built Angular app and proxies the NHL APIs.
• HokMob.App/ClientApp/ – Angular 15 frontend.
• .NET 7 SDK (or a newer SDK, see note below)
• Node.js and npm
• A trusted ASP.NET Core dev certificate: dotnet dev-certs https --trustREADME 전문 보기 ↗Website: hokmob.azurewebsites.net
A hockey stats website for the NHL, based on the soccer stats site Fotmob. It shows scores, standings, game details, team and player pages, leaderboards, the playoff bracket and the draft, all from publicly available NHL API data.
The app has two parts:
HokMob.App/ – ASP.NET Core (.NET 7) backend. It serves the built Angular app and proxies the NHL APIs.HokMob.App/ClientApp/ – Angular 15 frontend.The NHL APIs don't all send CORS headers, so the browser can't call them directly. The Angular app calls the backend, which forwards the request:
GET /api/nhl/score/now -> https://api-web.nhle.com/v1/score/now
| Route | Upstream | Controller / client |
|---|---|---|
/api/nhl/<path> | api-web.nhle.com/v1 | NhlController.cs, NhlApiClient.cs |
/api/nhl-stats/* | api.nhle.com/stats/rest/en | NhlStatsController.cs, NhlStatsApiClient.cs |
/api/nhl-search/player | search.d3.nhle.com | NhlSearchController.cs, NhlSearchApiClient.cs |
score, schedule, standings, gamecenter, player, ...).
To use a new api-web endpoint, add its first path segment to AllowedRoots in NhlController.cs./api/nhl/score/now rather than an NHL host.The simplest way to run both parts, from HokMob.App/ClientApp:
npm run dev
It starts the backend on https://localhost:7157 and an Angular dev server on plain HTTP; open
http://localhost:4200. Output is prefixed with [api] and [web], and Ctrl+C stops both. It needs no trusted dev
certificate, and runs on a newer .NET runtime too (it sets DOTNET_ROLL_FORWARD=Major).
The HTTPS route runs both from the backend project instead. It needs a trusted dev certificate
(dotnet dev-certs https --trust) and, with only .NET 8+ installed, DOTNET_ROLL_FORWARD=Major set first:
cd HokMob.App
dotnet run
Then open https://localhost:7157. The first run installs npm packages and starts the Angular dev server
(https://localhost:44424) automatically. Either way the Angular app reloads when you change source files, and
/api requests are forwarded to the backend via ClientApp/proxy.conf.js.
You can also run the Angular dev server on its own (cd HokMob.App/ClientApp, then npm start), but
/api/nhl/... calls only work while the backend is also running. To test the backend on its own, open
https://localhost:7157/api/nhl/score/now.
The ASP.NET Core dev certificate is missing or expired (they last one year). Check with
dotnet dev-certs https --check --verbose, then regenerate it:
dotnet dev-certs https --clean
dotnet dev-certs https --trust
If the Angular dev server then shows certificate errors, delete %APPDATA%\ASP.NET\https\hokmob.pem and
hokmob.key (bash/macOS: ~/.aspnet/https/). npm start re-exports them from the new certificate.
From HokMob.App/ClientApp:
npm run test:ci
That runs the Karma suite once in headless Chrome; npm test watches instead. The
same tests, a production build and a backend build run on every pull request and have to pass before merging.
A finished game's expected goals and Corsi come from Natural Stat Trick, which needs an access key. Never commit it.
For local runs, set it in user secrets from HokMob.App:
dotnet user-secrets set "NaturalStatTrick:Key" "<key>"
On Azure, add it as the NaturalStatTrick__Key application setting. Without a key the game page still works, just
without those stats. See "Natural Stat Trick" in docs/nhl-api.md.
Run dotnet publish -c Release from HokMob.App to build the backend and a production Angular bundle (output in
bin/Release/net7.0/publish). Pushing to master runs the same publish and deploys it to Azure. To build only the
Angular app, run ng build from HokMob.App/ClientApp; the artifacts land in dist/.
New Angular code is scaffolded from HokMob.App/ClientApp with ng generate component <name> (or directive,
pipe, service, ...).
CLAUDE.md – repo layout, editing conventions, how to run, build and test.docs/nhl-api.md – the NHL APIs: which one serves what, response conventions, caching, open
questions.docs/draft-page.md – the draft page's data and behaviour.