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.
- Host: GitHub
- URL: https://github.com/lucasrmagalhaes/weather-angular
- Owner: lucasrmagalhaes
- Created: 2020-11-09T17:03:16.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T15:40:17.000Z (over 4 years ago)
- Last Synced: 2024-11-12T13:05:05.418Z (over 1 year ago)
- Topics: angular, dio, typescript, weather
- Language: TypeScript
- Homepage:
- Size: 5.78 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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)