- Angular + Angular Cli
- OpenWeather Api
- Karma + Jasmine - testing
- Travis - auto testing and deploy
- Be sure you have installed
node 10.16.3
- Install dependencies
npm install
- Run tests
npm test
- Run development server
npm start
- Navigate tohttp://localhost:4200/
- Search city with autocomple or use current user position
- Display weather for current day
- Display forecast for 6 days
- Change °C to °F
- Store user selected city in
LocalStorage
All Project are divided on several components:
- App - base application component
- CityAutocomplete - represent cities autocomplete
- WeatherForecast - represent weather information
Services:
- CityList - unzip cities form
city.list.json.gz
- WeatherForecast - get current and daily forecast weather
- WeatherForecastConfig -
InjectionToken
that used for easy configurationapiToken
for openWeather Api
Pipes:
- WeatherIconPipe - parse weather condition and return necessary icon
- TemperaturePipe - add
°C
or°F
to the temperature value
Common Components:
- Autocomplete - autocomplete component that can be used in different projects
- Option - Simple option autocomplete
- AngularCDK - using for autcomplete
- angular-cli-ghpages - deploy application to gh-pages
- AngularPWA - building PWA
- WeatherIcons
- pako - unzip city.json.gz