Weather
A location-aware weather API and the dashboard that uses it.
| Part | Path | Stack | Live |
|---|---|---|---|
| API | be/weather |
Java 21, Spring Boot, Docker, Cloud Run | Swagger UI |
| Dashboard | fe |
HTML, CSS, JavaScript, GitHub Pages | yousefelghoul.dev/weather |
How it fits together
The dashboard calls GET /api/v1/full-weather. The API resolves the caller’s approximate location from their network address, fetches current conditions and a six-day forecast from OpenWeatherMap, and returns one frontend-friendly JSON response.
Deployment
Each part deploys by itself when its folder changes on main:
be/weather/**runsdeploy-cloud-run.yml: tests, Docker Hub image push, Cloud Run deploy.fe/**runsdeploy-pages.yml: publishes the folder to GitHub Pages.
See each folder’s README for setup and details.