A modern Angular application that displays a live sports leaderboard and allows users to add new entries in real-time. The application is built using Angular and Nx Monorepo.
- Display a live leaderboard of athletes with their position, color, name, and time
- Add new entries through a form with validation
- Automatic sorting based on time
- Responsive design
- Modern UI with smooth animations
Before you begin, ensure you have the following installed:
- Node.js (v18 or later)
- npm (v9 or later)
- Clone the repository:
git clone <repository-url>
cd sports-leaderboard
- Install dependencies:
npm install
- Start the development server:
npm start
The application will be available at http://localhost:4200
. The development server will automatically reload if you change any of the source files.
npm start
- Starts the development servernpm run build
- Builds the application for productionnpm test
- Runs unit testsnpm run lint
- Runs the linter to check code qualitynpm run e2e
- Runs end-to-end testsnpm run dev
- Starts the development server with development configuration
apps/leaderboard/
- Main application codesrc/app/components/
- Angular componentssrc/app/services/
- Services for data managementsrc/app/models/
- TypeScript interfaces and models
- Angular 19.2
- Nx 21.0
- Angular Material
- TypeScript 5.7
- SCSS
- RxJS 7.8
This project uses Nx as a build system. For more information about Nx capabilities, visit:
- Create a feature branch
- Make your changes
- Run tests:
npm test
- Run linting:
npm run lint
- Submit a pull request
MIT