{"repo":"Rapter1990/weatherapianalysis","free":true,"listed":false,"github":"https://github.com/Rapter1990/weatherapianalysis","clone":"git clone https://github.com/Rapter1990/weatherapianalysis.git","description":"Case Study - Weather Api Analysis (Java 21, Spring Boot, Postgres, JUnit,Docker, AOP, Kubernetes, Prometheus, Grafana, Github Actions (CI/CD), Jenkins, Sonarqube, Test Container)","language":"Java","stars":14,"topics":["aop","docker","docker-compose","github-actions","grafana","jacoco","java","jenkins","junit","kubernetes"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Case Study - Weather Api Analysis Api 📖 Information This project provides a Spring Boot API for Air Quality Management , allowing users to fetch real-time and historical air quality data based on request parameters. The API supports logging for request tracking and database integration. Air Quality Management: Retrieve real-time air quality data based on latitude, longitude, and date. Retrieve historical air pollution data based on city name and date range . City Name is mandatory in queries, while the date range is optional. If not provided, the system defaults to the last 7 days . Only London, Barcelona, Ankara, Tokyo, and Mumbai are supported for historical data queries. The API response includes pollutant categories (CO, SO2, O3, etc.), sorted chronologically in JSON format . Example Request: /api/v1/airquality/history?city=ankara&startDate=16-01-2025&endDate=17-01-2025 Example Response: { \"City\": \"Ankara\", \"Results\": [ { \"Date\": \"16-05-2025\", \"Categories\": [ { \"CO\": \"Satisfactory\" }, { \"SO2\": \"Moderate\" }, { \"O3\": \"Satisfactory\" } ] }, { \"Date\": \"17-05-2025\", \"Categories\": [ { \"CO\": \"Good\" }, { \"SO2\": \"Severe\" }, { \"O3\": \"Satisfactory\" } ] } ] } Database Integration: Each query first checks the database . Only missing data will be fetched from the external API , and then stored in the database. A log entry is created indicating whether data was retrieved from the database or from the API . Example Workflow: Query: Paris, 05-01-2025 to 10-01-2025 → Data is not in the dat","default_branch":null,"files":null,"tree":[],"storefront":"/r/Rapter1990","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Rapter1990/weatherapianalysis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}