This app shows the F1 season list from 2005 till now(2021) with a list of winners for every race of the corresponding year using Ergast Developer API.
This app was bootstrapped with Create React App.
To get other season's information, please change LIMIT
and OFFSET
values from src/config/const.js
file.
const AppConstant = {
LIMIT: 16,
OFFSET: 55,
};
To know more about
LIMIT
andOFFSET
, have a look at Response paging section from Ergast Developer API reference.
- Bootstrap as UI framework.
- Bootstrap Icons for icons.
- Apisauce as http client.
- classnames for className helper.
- Jest as testing framework.
- Testing Library for testing utilities.
- Mock Service Worker(MSW) for API mocking utilities.
From the project directory following scripts are available:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
Eject the application.
Launches the test runner in the interactive watch mode.