Skip to content

Covid tracker web application provides an easy access to the live data of COVID -19 cases both globally as well as nationally using a public API. The app not only displays the numeric data of infected, recovered, and death cases but also shows the chart representation which provides easy visibility and comparison.

License

Notifications You must be signed in to change notification settings

Minakshi-Verma/covid-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid-tracker

stars MIT code style: prettier Maintainability Twitter

Covid tracker provides the records of COVID-19 cases globally as well as based on a selected country. We are fetching live COVID-19 data (from a public API) for the number of infected, recovered, and death cases. In addition to numeric data, results are diplayed on charts to provide better visibility. The application is fully responsive and styled using material UI.

Desktop view

desktop

Mobile view

mobile

Tech Stack

React || Material UI || CSS || Vercel

Initialize the project using create-react-app ./

Dependancies (using npm install --save dependancyName)

1- axios
2- react-chartjs-2 //great library for making charts
3- chart.js //needed for react-chartjs-2 to work
4- react-countup //help us make animation while counting numbers
5- classNames //classnames function takes any number of arguments (str or object) and return the truthy value associated with the key
6- @material-ui/core

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.

yarn build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

It is important while naming ther css files in react application, to use the prefix .module (example: Card.module.css). This naming convention confined the styling to that particular file and it does not applied on the other components. That can lead to interference and unpredictable code.

About

Covid tracker web application provides an easy access to the live data of COVID -19 cases both globally as well as nationally using a public API. The app not only displays the numeric data of infected, recovered, and death cases but also shows the chart representation which provides easy visibility and comparison.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published