This React based covid19 stats web application using Odi aka mathdroid covid19 API
-
Clone
git clone https://github.com/apurva-modi/coronacase-tracker.git
-
Install deps (
yarn
,npm install
) -
To run it on localhost.
npm start
- Cards (for demonstrating Infected, Recoverd and Deaths stats)
- Uses Card, CardContent, Typography and Grid from Material-UI
- CountryPicker (for selecting countries)
- uses react's useEffect and useState to fetch countries from the API.
- Charts (based on selected country shows the country's Covid19 stats)
- Uses react's useEffect and useState to set Daily data to Line and Bar chart based on fetched countries.
Credit: @JavaScript Mastery