Skip to content

luca1226/weather-app

Repository files navigation

WeatherApp

This project was generated with Angular CLI version 12.0.5. You can find a live Demo.

How to Run?

Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Explanation

This little project shows us the weather of a city coming from Open Weather API. By clicking on a city you can show the next 5 hours of forecast weather. You can as well add new city to watch their weather.

Directory Structure

project
│   .editorconfig
│   .gitignore
│   angular.json
│   README.md
│   package.json
└───src
│   └─── app
│        └─── components 
│        └─── models
│        └─── providers
│        └─── weather-dashboard
│   └─── assets 
│   └─── environments
│   │    index.html
│   │    main.ts
│   │    polyfills.ts
│   │    test.ts
|   |    style.scss

Running unit tests

Run nom run test to execute the unit tests via Karma.