Weather App
- set your db connection string
- Run EF migrations: update-database
- run the api
Get locations autocomplete: [GET]https://localhost:44334/api/location/cities?lang=en&key=yavne
Get weather data: [GET]https://localhost:44334/api/weather/212593?lang=he
post favorite [POST]https://localhost:44334/api/favorites?lang=he { "LocalizedName" : "יבנה", "LocationId" : "212593" }
remove favorite: [DELETE] https://localhost:44334/api/favorites/212593
didnt have time so:
- no input validations
- no error handling
- need to remove constants from code
- missing another services layes so some logic will be in the controller
Ran, MIT :)