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

https://github.com/sadanandpai/weather-app

Weather app in Angular for practice
https://github.com/sadanandpai/weather-app

angular javascript

Last synced: about 1 year ago
JSON representation

Weather app in Angular for practice

Awesome Lists containing this project

README

          


Weather App



![image](https://user-images.githubusercontent.com/12962887/180591401-7b38ec9a-3d97-4bcf-ac60-f79252578f1d.png)

Challenge: Build a weather application to get the output as shown [here](https://sadanandpai.github.io/weather-app/dist/)

### Installation

- `git clone https://github.com/sadanandpai/weather-app.git`
- `cd weather-app`
- `npm i`
- `npm start`

### Data

- To fetch the details of the city the provided json can be used from [here](https://github.com/sadanandpai/weather-app/blob/main/src/assets/cities-fr.json)
- To fetch the data of a city, `https://api.openweathermap.org/data/2.5/weather?units=metric&appid=${apiKey}&q=${city}` can be used
- Icons can be accessed in the [assets](https://github.com/sadanandpai/weather-app/blob/main/src/assets/css/weathericons.css) folder