Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.38 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.38 KB

WeatherForecast

A weather application developed with Blazor Server using .NET 7.0. It retrieves weather information using the OpenWeatherMap API.

Installation

  1. Clone the project:

    git clone https://github.com/BetulTugce/WeatherForecast.git
  2. Navigate to the project directory:

    cd WeatherForecast
  3. Run the project:

    dotnet run

Dependencies

Configuration

The appsettings.json file is not included in the repository as it contains sensitive information, such as API keys. Instead, you should create your own appsettings.json file with the following structure:

{
  "OpenWeatherMap": {
    "ApiKey": "your_api_key_here",
    "WeatherUrl": "https://api.openweathermap.org/data/2.5/",
    "IconUrl": "https://openweathermap.org/img/w/"
  }
}

Screenshot

If permission is granted for location information:

WeatherForecast

If permission is not granted for location information:

WeatherForecast