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

https://github.com/luca1226/weather-app


https://github.com/luca1226/weather-app

angular bootstrap openweather-api typescript

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# WeatherApp

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.5. You can find a [live Demo](https://luca1226.github.io/weather-app/).

## 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](https://openweathermap.org/current). 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](https://karma-runner.github.io).