An open API service indexing awesome lists of open source software.

https://github.com/fullstackgenerator/weatherapp

A weather app built with ASP.NET Core MVC that fetches current conditions and a 5-day forecast using the WeatherAPI.
https://github.com/fullstackgenerator/weatherapp

csharp dotnet mvc weather weather-app

Last synced: 9 months ago
JSON representation

A weather app built with ASP.NET Core MVC that fetches current conditions and a 5-day forecast using the WeatherAPI.

Awesome Lists containing this project

README

          

### WeatherApp

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

WeatherApp is a lightweight weather application built using ASP.NET Core MVC. It allows users to search for any city and displays the current weather conditions along with a 5-day forecast, powered by WeatherAPI.com.


Main weather view

Under the hood, the app makes HTTP requests to WeatherAPI’s endpoints for both current conditions and extended forecasts. JSON responses are deserialized using `Newtonsoft.Json` and mapped into clean model classes like `WeatherModel` and `ForecastDay`.


Code sample

The UI is styled with Bootstrap and includes a responsive layout, dark mode toggle, and weather icons pulled from the API itself.


Mobile view

### License

This project is licensed under the [MIT License](LICENSE).