This is a contact management app built using ReactJS, TypeScript, TailwindCSS, React Router v6, and Axios. The app provides a dashboard with charts and maps to visualize COVID-19 data.
The objective of this project is to create a simple dashboard with the following features:
- A line graph showing the fluctuations in COVID-19 cases worldwide.
- A React Leaflet map displaying markers for different countries. Each marker indicates the country name, total number of active cases, recovered cases, and deaths. This information is shown as a popup when the marker is clicked.
To fetch data and create the dashboards, the following APIs are used:
- World wide data of cases: https://disease.sh/v3/covid-19/all
- Country-specific data of cases: https://disease.sh/v3/covid-19/countries
- Graph data for cases with date: https://disease.sh/v3/covid-19/historical/all?lastdays=all
Follow the instructions below to set up and run the app:
- Install Node.js and npm (Node Package Manager) if they are not already installed on your machine.
- Clone the repository and navigate to the project directory.
- Install the project dependencies by running the following command:
npm install
- Start the development server by running the following command:
npm start
- Open a web browser and access the app at http://localhost:3000.
The app is built using the following technologies:
- ReactJS: JavaScript library for building user interfaces.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.
- TailwindCSS: A utility-first CSS framework for quickly styling the app.
- React Router v6: Routing library for React applications.
- Axios: A popular JavaScript library for making HTTP requests.
Here are some screenshots of this app:
Check out the live demo of the Netflix clone here.
The app follows a well-structured architecture that promotes maintainability and ease of development.
The app is designed to be responsive and optimized for both desktop and mobile devices. It adapts to different screen sizes to provide a seamless user experience. Date:19 May 2023, Day 158 Of WebDev
For more information on the API endpoints used, please refer to the following links:
- World wide data of cases: https://disease.sh/v3/covid-19/all
- Country-specific data of cases: https://disease.sh/v3/covid-19/countries
- Graph data for cases with date: https://disease.sh/v3/covid-19/historical/all?lastdays=all
If you'd like to contribute to this project, feel free to submit a pull request. Any contributions are greatly appreciated!
This project is licensed under the MIT License.