{"id":18624009,"url":"https://github.com/a-samod/weather-api-backend","last_synced_at":"2026-04-08T18:31:19.014Z","repository":{"id":231681476,"uuid":"775888337","full_name":"A-Samod/weather-api-backend","owner":"A-Samod","description":"This project is a backend API built with Node.js that provides weather data for a frontend application. ","archived":false,"fork":false,"pushed_at":"2024-04-24T14:25:55.000Z","size":409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T18:53:27.101Z","etag":null,"topics":["expressjs","mongodb","swagger-ui","weather-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/A-Samod.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-03-22T08:44:55.000Z","updated_at":"2024-06-23T09:03:26.000Z","dependencies_parsed_at":"2024-04-14T08:27:00.798Z","dependency_job_id":"69192783-66f3-416d-853d-a95fb8b266b0","html_url":"https://github.com/A-Samod/weather-api-backend","commit_stats":null,"previous_names":["a-samod/weather-api-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/A-Samod/weather-api-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fweather-api-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fweather-api-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fweather-api-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fweather-api-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/A-Samod","download_url":"https://codeload.github.com/A-Samod/weather-api-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fweather-api-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31568579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["expressjs","mongodb","swagger-ui","weather-api"],"created_at":"2024-11-07T04:27:02.203Z","updated_at":"2026-04-08T18:31:18.986Z","avatar_url":"https://github.com/A-Samod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# weather-api-backend\n\n# Student ID : COBSCCOMP4Y222P-011\n\n# WEATHER MAP BACKEND\n\nThis project is a backend API built with Node.js that provides weather data for a frontend application. The frontend application is a React-based map displaying weather data for 24 districts in Sri Lanka. The weather data includes temperature, humidity, air pressure, and the latest updated date. The frontend and backend are synced to ensure real-time data updates.\n\n## DEMO\n\nYou can find a live demo of the application [here](https://avishka.tech/).\n\n\n## FEATURES\n\n- Provides APIs to fetch weather data for 24 districts in Sri Lanka.\n- Supports filtering weather data by district.\n- Provides APIs for fetching maximum and minimum temperature data.\n- Supports fetching weather data history.\n- Utilizes Swagger for API documentation.\n\n1. Swagger :\n\n   ![Swagger](./README/swagger.png)\n\n   ![Get Swagger](./README/get_swagger.png)\n\n## Installation\n\n1. Clone the repository:\n\n```\ngit clone https://github.com/A-Samod/weather-api-backend\n```\n\n2. Navigate to the project directory:\n\n```\ncd weather-api-backend\n```\n\n3. Install dependencies:\n```\nnpm install\n```\n\n4. Start the server:\n```\nnpm start\n```\n5. Open http://localhost:4000 to view it in the browser.\n\n## Frontend Repository\n\nThe backend repository for this project can be found [here](https://github.com/A-Samod/weather-api-frontend).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-samod%2Fweather-api-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-samod%2Fweather-api-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-samod%2Fweather-api-backend/lists"}