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

https://github.com/lucasrmagalhaes/weather-angular

Previsão do Tempo (API: Open Weather) com Angular e TypeScript.
https://github.com/lucasrmagalhaes/weather-angular

angular dio typescript weather

Last synced: 9 months ago
JSON representation

Previsão do Tempo (API: Open Weather) com Angular e TypeScript.

Awesome Lists containing this project

README

          

Previsão do Tempo (API: Open Weather) com Angular e TypeScript

Comandos

***Instalação do Angular:***
```
npm install -g @angular/cli
```

***Verificando as versões:***
```
node -v
```
```
ng version
```

***Criando o projeto:***
```
ng new weather
```

***Criando as páginas:***
```
ng g m pages/home
```
```
ng g m pages/bookmarks
```

***Criando os componentes:***
```
ng g c pages/home --type page
```
```
ng g c pages/bookmarks --type page
```

***Iniciando o Projeto:***
```
ng s
```
```
http://localhost:4200/
```

***Desativar Warning:***
```
ng config -g cli.warnings.versionMismatch false
```

***NGRX: Store***
```
ng add @ngrx/store
```
```
ng add @ngrx/store-devtools
```

***NGRX: Effect***
```
ng add @ngrx/effects
```

***Criando os componentes***
```
ng g c pages/home/components/current-weather
```
```
ng g c /shared/components/detailed-weather
```

Links

[API: OpenWeather - Keys](https://home.openweathermap.org/api_keys)

[jv-weather](https://github.com/JGhignatti/jv-weather)

[NGRX](https://ngrx.io/)

[NGRX: Store](ngrx.io/guide/store)

[Redux DevTools](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=pt-BR)