This is a Single Page Application developed using React 17.0.1.
It consumes http://ergast.com/mrd/ API to render the below items:
- List of Formula One World Champions from the year 2005 to 2015
- Clicking on the item shows the winners for every race
- Highlights the row when the winner has been world champion in the same season. The criteria to decide the winner here is of first driver to score 25 points (Which is a formula one standrad).
This project uses below libraries
- react-dom-router
- typescript
- react-bootstrap
- bootstrap
Note : Since this is a small application and does not require state management, there was no need for using Redux and Redux Middleware libraries.
- Clone the repository
- Navigate to the project folder
- npm install
- npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.