How vojtechgero/stin_weather works
STIN_Weather is a server-rendered interactive weather application with account management, saved locations, forecast retrieval, and map/table/weather views. The verified forecast request path runs from the authenticated API endpoint through location selection and forecast construction to Open-Meteo. The README is empty; UI and account capabilities are represented from the repository tree, but their detailed wiring is not inferred from unsampled components.
Main entry points: Routes.razor Page routing · WeatherApi.cs Weather API client · Program.cs ASP.NET host · WeatherController.cs Forecast endpoint
Components 21
Web experience
- ASP.NET host
STIN_Weather/Program.cs - Razor app
STIN_Weather/Components/App.razor - Page routing
STIN_Weather/Components/Routes.razor - Home view
STIN_Weather/Components/Pages/Home.razor - Locations table
STIN_Weather/Components/Pages/LocationsTable.razor - Map view
STIN_Weather/Components/Pages/MapView.razor - Weather response
STIN_Weather/Components/Pages/WeatherRespose.razor
Forecast workflow
- Forecast endpoint
STIN_Weather/Endpoints/WeatherController.cs - Location selection
STIN_Weather/Services/LocationSelectionService.cs - Forecast service
STIN_Weather/Services/WeatherForecastService.cs
Accounts and storage
- Login and registration
STIN_Weather/Components/Account/Pages - Identity services
STIN_Weather/Program.cs - User manager
- JSON user store
STIN_Weather/Data/JsonFileUserStore.cs - User JSON file
Weather integration
- Request builder
STIN_Weather/WeatherReportUtils/RequestBuilder.cs - Weather API client
STIN_Weather/WeatherReportUtils/WeatherApi.cs - Weather code mapping
STIN_Weather/WeatherReportUtils/WeatherUtils.cs - Forecast model
STIN_Weather/Data/DailyForecast.cs
Other components
- User browser
- Open-Meteo
Connections 21
- User browser → Razor app: opens
- Razor app → Page routing: renders
- Page routing → Home view: routes to
- Page routing → Locations table: routes to
- Page routing → Map view: routes to
- Page routing → Weather response: routes to
- ASP.NET host → Razor app: maps
- ASP.NET host → Forecast endpoint: maps
- ASP.NET host → Identity services: configures
- Forecast endpoint → User manager: finds user
- Forecast endpoint → Location selection: calls
- Location selection → Forecast service: creates and calls
- Forecast service → Request builder: builds request
- Forecast service → Weather API client: requests weather
- Weather API client → Open-Meteo: HTTP request
- Weather API client → Weather code mapping: maps codes
- Weather API client → Forecast model: creates forecasts
- Identity services → Login and registration: enables endpoints
- Identity services → User manager: registers store
- User manager → JSON user store: uses
- JSON user store → User JSON file: reads and writes