{"id":16123616,"url":"https://github.com/mah-shamim/simple-weather-app","last_synced_at":"2025-04-14T20:53:55.418Z","repository":{"id":251240314,"uuid":"836799527","full_name":"mah-shamim/simple-weather-app","owner":"mah-shamim","description":"A weather application that fetches and displays weather information from an API using PHP, jQuery, AJAX, Bootstrap, CSS, and MySQL.","archived":false,"fork":false,"pushed_at":"2024-08-01T16:09:10.000Z","size":74,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T09:11:09.725Z","etag":null,"topics":["beginner-projects","bootstrap","code-examples","css","hands-on-projects","html","jquery","learning-resources","mysql","open-source","php","php-tutorials","weather-api","web-application","web-development"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mah-shamim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-01T15:24:37.000Z","updated_at":"2024-11-23T11:30:07.000Z","dependencies_parsed_at":"2024-08-01T18:16:20.013Z","dependency_job_id":"b7c06263-786d-4ed3-a090-670bcb199eeb","html_url":"https://github.com/mah-shamim/simple-weather-app","commit_stats":null,"previous_names":["mah-shamim/simple-weather-app"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-weather-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-weather-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-weather-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-weather-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mah-shamim","download_url":"https://codeload.github.com/mah-shamim/simple-weather-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248961079,"owners_count":21189990,"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":["beginner-projects","bootstrap","code-examples","css","hands-on-projects","html","jquery","learning-resources","mysql","open-source","php","php-tutorials","weather-api","web-application","web-development"],"created_at":"2024-10-09T21:17:48.842Z","updated_at":"2025-04-14T20:53:55.393Z","avatar_url":"https://github.com/mah-shamim.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Weather App\nA weather application that fetches and displays weather information from an API using PHP, jQuery, AJAX, Bootstrap, CSS, and MySQL.\n\n![simple-weather-app](img/simple-weather-app.png)\n\n### Install Process\n\n1. **Clone the repository:**\n   ```sh\n   git clone https://github.com/your-username/simple-weather-app.git\n   cd simple-weather-app\n   ```\n\n2. **Set up the database:**\n    - Create a database named `weather_app`.\n    - Import the provided SQL file (`database/database.sql`) to set up the necessary tables.\n    - Import the provided SQL file to set up the necessary tables.\n    ```sh\n      mysql -u yourusername -p weather_app \u003c database.sql\n    ```\n\n3. **Configure the application:**\n    - Copy `config.sample.php` to `config.php`:\n      ```sh\n      cp config.sample.php config.php\n      ```\n    - Open `config.php` and update the database configuration and API key details.\n\n4. **Run the application:**\n    - Serve the application using your local web server or PHP's built-in server:\n      ```sh\n      php -S localhost:8000\n      ```\n\n5. **Access the application:**\n    - Open your browser and navigate to `http://localhost:8000`.\n\n### File Structure\n\nHere’s a basic file structure for your simple-weather-app application:\n\n```\nsimple-weather-app/\n│\n├── config.sample.php\n├── index.html\n├── database.sql\n├── src/\n│   ├── api.php\n│   └── fetch_weather.php\n├── css/\n│   └── styles.css\n├── js/\n│   └── script.js\n├── README.md\n└── .gitignore\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmah-shamim%2Fsimple-weather-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmah-shamim%2Fsimple-weather-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmah-shamim%2Fsimple-weather-app/lists"}