This project was generated using Angular CLI version 21.1.4.
This repo expects a local Firebase web config file that is gitignored:
- Copy
src/app/shared/firebase.config.local.example.tstosrc/app/shared/firebase.config.local.ts. - Fill in
apiKey,authDomain,projectId,appIdfrom your Firebase Console → Project settings → Your apps → Web app config. - In Firebase Console → Authentication → Sign-in method, enable Email/Password.
This repo expects keys in src/app/shared/rapidapi.config.local.ts:
- Copy
src/app/shared/rapidapi.config.local.example.tstosrc/app/shared/rapidapi.config.local.ts. - Put your The Odds API key into
oddsApiKey(used by real odds widgets). - (Optional) Put your RapidAPI key into
rapidApiKey(used by Bet365 widgets if you use them).
To start a local development server, run:
ng serveOnce the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.
ESPN summary?event=... is often blocked by CORS in the browser. Locally we use proxy.conf.json to proxy /espn -> https://site.api.espn.com.
On Firebase Hosting (static-only / Spark plan), match detail falls back to a basic view built from the public scoreboard data if the summary request is blocked.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --helpTo build the project run:
ng buildThis will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.
To execute unit tests with the Vitest test runner, use the following command:
ng testFor end-to-end (e2e) testing, run:
ng e2eAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.