This web application fetches and displays information about countries and cities related to COVID-19 using various APIs. It provides details such as population, total COVID-19 cases, total deaths, tests conducted, and more.
Before running the application, ensure you have the following:
- Web server environment (e.g., XAMPP, WAMP, LAMP) set up on your local machine.
- PHP installed and configured.
- Access to the internet to fetch data from external APIs.
- Clone this repository to your local machine:
git clone https://github.com/your-username/covid-details-web-app.git
- Place the cloned folder in your web server's document root directory (e.g., htdocs for XAMPP).
- Start your web server and make sure it's running.
- Open a web browser and navigate to
http://localhost/covid-details-web-app/home.php
to access the home page of the application.
- Home: Displays general COVID-19 information and navigation links.
- Country & City: Allows searching for country details and provides links to view city information.
- Europe: Displays COVID-19 statistics for European countries.
- Covid Chart: Displays a bar chart showing COVID-19 cases in European countries.
- Covid Global Info: Shows global COVID-19 information fetched from an external API.
- HTML/CSS/JavaScript: Frontend development.
- PHP: Backend server-side scripting.
- Bootstrap: Frontend framework for styling and layout.
- jQuery: JavaScript library for simplified DOM manipulation and AJAX requests.
- Google Charts: For visualizing data in charts.
- cURL: For making HTTP requests to external APIs
This project utilizes the following external APIs to gather data related to COVID-19 statistics, country information, and city & state search:
-
COVID-19 Statistics
- API Name: covid-193 API
- Description: Provides up-to-date statistics on COVID-19 cases, deaths, and tests conducted worldwide.
- API Documentation: covid-193 API Documentation
-
Country Information
- API Name: Rest Countries API
- Description: Offers comprehensive information about countries, including details such as population, capital city, currency, and more.
- API Documentation: Rest Countries API Documentation
-
City & State Search
- API Name: City and State Search API
- Description: Enables searching for cities and states by name, providing details such as ID, state code, country name, and more.
- API Documentation: City and State Search API Documentation
These APIs play a crucial role in fetching and displaying relevant data within the web application. They contribute to providing users with accurate and comprehensive information regarding COVID-19, countries, and cities, enhancing the overall functionality and user experience of the application.