Skip to content

lucasrmagalhaes/weather-angular

Repository files navigation

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
jv-weather
NGRX
NGRX: Store
Redux DevTools

About

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

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •