{"id":20152745,"url":"https://github.com/dmslakmal/php-restapi-covid-19-details-webapp","last_synced_at":"2026-05-06T19:39:13.270Z","repository":{"id":243009034,"uuid":"811204242","full_name":"dmsLakmal/PHP-RestAPI-Covid-19-Details-WebApp","owner":"dmsLakmal","description":"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.","archived":false,"fork":false,"pushed_at":"2024-06-06T08:18:36.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T12:19:21.016Z","etag":null,"topics":["ajax","api","bootstrap","css","html","php","rest-api"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmsLakmal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-06T06:29:27.000Z","updated_at":"2024-06-06T08:18:39.000Z","dependencies_parsed_at":"2024-06-06T07:55:25.366Z","dependency_job_id":"4ac706c9-eba8-49db-a8d8-259e90243dc6","html_url":"https://github.com/dmsLakmal/PHP-RestAPI-Covid-19-Details-WebApp","commit_stats":null,"previous_names":["dmslakmal/php-restapi-covid-19-details-webapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsLakmal%2FPHP-RestAPI-Covid-19-Details-WebApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsLakmal%2FPHP-RestAPI-Covid-19-Details-WebApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsLakmal%2FPHP-RestAPI-Covid-19-Details-WebApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsLakmal%2FPHP-RestAPI-Covid-19-Details-WebApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmsLakmal","download_url":"https://codeload.github.com/dmsLakmal/PHP-RestAPI-Covid-19-Details-WebApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241592538,"owners_count":19987379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajax","api","bootstrap","css","html","php","rest-api"],"created_at":"2024-11-13T23:13:42.233Z","updated_at":"2026-05-06T19:39:08.251Z","avatar_url":"https://github.com/dmsLakmal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COVID-19 Country Details Web App\n\n![Screenshot 2024-06-06 120404-min](https://github.com/dmsLakmal/PHP-RestAPI-Covid-19-Details-WebApp/assets/143265507/6e1afb0b-54d8-40fa-8089-00ee8cfa1640)\n\n\nThis web application fetches and displays information about countries and cities related to COVID-19 using various APIs. It provides details such as population, \ntotal COVID-19 cases, total deaths, tests conducted, and more.\n\n## Prerequisites\n\nBefore running the application, ensure you have the following:\n\n  - Web server environment (e.g., XAMPP, WAMP, LAMP) set up on your local machine.\n  - PHP installed and configured.\n  - Access to the internet to fetch data from external APIs.\n\n# Setup\n  01. Clone this repository to your local machine:\n       ```git clone https://github.com/your-username/covid-details-web-app.git```\n  02. Place the cloned folder in your web server's document root directory (e.g., htdocs for XAMPP).\n  03. Start your web server and make sure it's running.\n  04. Open a web browser and navigate to `http://localhost/covid-details-web-app/home.php` to access the home page of the application.\n\n# Usage\n  - Home: Displays general COVID-19 information and navigation links.\n  - Country \u0026 City: Allows searching for country details and provides links to view city information.\n  - Europe: Displays COVID-19 statistics for European countries.\n  - Covid Chart: Displays a bar chart showing COVID-19 cases in European countries.\n  - Covid Global Info: Shows global COVID-19 information fetched from an external API.\n\n# Technologies Used\n  - HTML/CSS/JavaScript: Frontend development.\n  - PHP: Backend server-side scripting.\n  - Bootstrap: Frontend framework for styling and layout.\n  - jQuery: JavaScript library for simplified DOM manipulation and AJAX requests.\n  - Google Charts: For visualizing data in charts.\n  - cURL: For making HTTP requests to external APIs\n\n# External APIs Used\n\nThis project utilizes the following external APIs to gather data related to COVID-19 statistics, country information, and city \u0026 state search:\n\n1. **COVID-19 Statistics**\n   - **API Name:** covid-193 API\n   - **Description:** Provides up-to-date statistics on COVID-19 cases, deaths, and tests conducted worldwide.\n   - **API Documentation:** [covid-193 API Documentation](https://rapidapi.com/api-sports/api/covid-193)\n\n2. **Country Information**\n   - **API Name:** Rest Countries API\n   - **Description:** Offers comprehensive information about countries, including details such as population, capital city, currency, and more.\n   - **API Documentation:** [Rest Countries API Documentation](https://restcountries.com/)\n\n3. **City \u0026 State Search**\n   - **API Name:** City and State Search API\n   - **Description:** Enables searching for cities and states by name, providing details such as ID, state code, country name, and more.\n   - **API Documentation:** [City and State Search API Documentation](https://rapidapi.com/user/larimarghe/api/city-and-state-search)\n\nThese 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmslakmal%2Fphp-restapi-covid-19-details-webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmslakmal%2Fphp-restapi-covid-19-details-webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmslakmal%2Fphp-restapi-covid-19-details-webapp/lists"}