/angular-weather-dashboard

a gentle introduction to Angular

Primary LanguageTypeScript

WeatherApp

A gentle introduction into the benefits of Angular, using weather data

From a tutorial by Sameer Saini: https://www.youtube.com/watch?v=psZXU8PTAS8

Changes from tutorial

The free API in the tutorial may no longer be available, but this free alternative worked just fine:

https://rapidapi.com/weatherapi/api/weatherapi-com

What we can learn

basic dependency injection

services/Observables (weather data to populate a dashboard)

forms in Angular / ngForm, ngModel

structural directives (*ngIf)

interpolation (displaying our weather data on the front end)

Tools

If you are using TypeScript and API Calls, these are your best friends

https://jsonformatter.org/ https://transform.tools/json-to-typescript

What next?

Moving towards more frequently updated data to see more benefits of subscriptions