{"id":18580372,"url":"https://github.com/pradeepsingroul/weatherproject","last_synced_at":"2026-04-10T13:31:34.226Z","repository":{"id":105092718,"uuid":"608073019","full_name":"pradeepsingroul/WeatherProject","owner":"pradeepsingroul","description":"This is a basic weather project and it is a indcidual project In this project user can find the weather for particular location by pincode and date when user pass the pincode and date project will return the weather details like - temperature , min_temperaturee, max_temperature, wind details, sunrise, sunset etc. In this project I use java.........","archived":false,"fork":false,"pushed_at":"2023-04-01T05:36:19.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T15:33:40.716Z","etag":null,"topics":["apis","github","java","mysql-database","spring","spring-boot","spring-mvc","sql"],"latest_commit_sha":null,"homepage":"","language":"Java","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/pradeepsingroul.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":"2023-03-01T09:07:25.000Z","updated_at":"2023-04-01T05:33:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"a939bc53-afa3-4fba-a69b-331bcebb1856","html_url":"https://github.com/pradeepsingroul/WeatherProject","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pradeepsingroul/WeatherProject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeepsingroul%2FWeatherProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeepsingroul%2FWeatherProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeepsingroul%2FWeatherProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeepsingroul%2FWeatherProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pradeepsingroul","download_url":"https://codeload.github.com/pradeepsingroul/WeatherProject/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeepsingroul%2FWeatherProject/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31645212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["apis","github","java","mysql-database","spring","spring-boot","spring-mvc","sql"],"created_at":"2024-11-06T23:45:06.559Z","updated_at":"2026-04-10T13:31:34.209Z","avatar_url":"https://github.com/pradeepsingroul.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WeatherProject\n\n![Logo](https://user-images.githubusercontent.com/104360276/221820586-f17ee6ff-a131-4ea1-91e2-849fab5b250d.jpeg)\n\nThis is a basic weather project where we pass a pincode and the date and it will return the weather details like rain,clouds,temp,min_temp,max_temp,feel-Like,sunset,sunrise,etc-etc.\nthere is only one user : user who can search weather for particular location.\n\n## ER Diagram\n\n![ER diagrame](https://user-images.githubusercontent.com/104360276/221812995-4469cb98-9005-42b3-84c9-2cd5f1c99a63.png)\n/view)\n\n\n## Features\n - user can search weather details for particular location and particular date, project will return weather details for that locations\n\n\n## API Reference\n\n#### for getting lattitude , longitude and some other locartion details\n\n```https://api.opencagedata.com/geocode/v1/json?key={api_ley}\u0026q={pincode}\u0026pretty=1```\n\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `api_key` | `string` | **Required**. `767d0ceffae94717836eadb18dee640a` |\n| `pincode` | `Integer`| `which you want to search`  |\n\nit takes pincode as parameter and return pincode details..........\n\n\n\n#### for getting weather details\n\n```https://api.openweathermap.org/data/2.5/weather?lat={lattitude}\u0026lon={longitude}\u0026dt={unixTime}\u0026appid={your api key}\u0026units=metric```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `appid`      | `string` | **Required**.956df4d89fd7e25fc00ccab4ae566c5d |\n| `dt`           | `Long`     | unixtime                        |\n| `lon`          | `double`   | longitude                  |\n|`lat`           | `double`   | lattitude                  |\n\nit takes lngotude and lattitude and unixtime as parameter and return JsonObject of weather details...............\n\n\n\n## Tech Stack\n\n- Core Java\n- Spring Boot\n- Hibernate\n- MySQL (RDBMS)\n- Sql\n- Maven\n- Swagger UI\n- postman\n- Intellij Idea\n- Giuhub\n\n\n## Deployment\n\nTo deploy this project on localhost paste this below code in application.properties file in the \nresources and update according to your database name, username and password of your MySQL database.\n\n```properties\n #changing the server port\nserver.port=8080\n\n#db specific properties\nspring.datasource.url=jdbc:mysql://localhost:3306/database\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\nspring.datasource.username=username\nspring.datasource.password=password\n\n\n\n#ORM s/w specific properties\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=true\n\nspring.mvc.throw-exception-if-no-handler-found=true\nspring.web.resources.add-mappings=false\n\nspring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER\n\n```\n### Swagger UI - Link\n\nUse this link to run it on browser.\n```swagger\nhttp://localhost:8080/swagger-ui\n```\n\n## Authors\n\n- [Pradeep Singroul (@pradeepsingroul) ](https://github.com/pradeepsingroul)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeepsingroul%2Fweatherproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpradeepsingroul%2Fweatherproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeepsingroul%2Fweatherproject/lists"}