The project was built using ASP.NET Core and SQLite as database.
$ git clone https://github.com/kikoanis/Weather.Forecast
navigate to project main folder and then run
$ cd Weather.Forecast
dotnet build
dotnet run --project .\src\Weather.Forecast.Web\Weather.Forecast.Web.csproj
Then you can access the API/ swagger at http://localhost:5000
Edit launchSettings.json if you need to use another port than 5000
The project contains a task scheduler that will run every 10 minutes to check on cities weather forecast that were fetched more than 4 hours ago.