How altinawiwaseem/covid-19-traker-react-app works
Project type and purpose
• This is a single‐page React front-end application (“COVID-19-TRACKER”) for visualizing global COVID-19 data.
File structure
• Top-level files: package.json (lists React, react-chartjs-2, leaflet, etc.), README.md, public/index.html, public/images.
• src/index.js mounts the React App.
• src/App.js is the root component.
• src/context/CountriesFetching provides a Context for fetching and storing country data.
• src/components contains feature-specific UI modules:
• CoronaCasesMap (map view with circles per country)
• DateAndTime (current date/time display)
• InfoBox (summary cards for cases/deaths/recovered)
• LineGraph (time-series chart)
• Table (sortable live data table)
README for additional insights
• Confirms use of React, Chart.js (via react-chartjs-2), Leaflet, and an external COVID API.
• Deployed on Vercel (static‐hosting CDN).
Detail without over-splitting
• How Context decouples data fetching from presentation.
• Static hosting serving index.html and the bundled JS.