Skip to content

Systemized/Weather-Panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather-Panel

Weather Forecast web-app built on Angular/Typescript

Weather App

This is an Weather webapp build using Angular v19. It displays current weather and a 5-day high/low forecast for any city. The app fetches weather data from the OpenWeatherMap API and supports both metric and imperial units.

Features

  • Current Weather: Displays the current temperature, weather condition, humidity, and wind speed.
  • 5-Day Forecast: Shows the daily minimum and maximum temperatures for the next five days.
  • City Search: Allows users to search for a city to view its weather and forecast.
  • Unit Selection: Users can switch between metric (Celsius) and imperial (Fahrenheit) units.
  • Dynamic City Handling: Prevents ambiguous results by allowing city and country/state input or selection.

Tip

To get optimal serach result, be specific with city and country. Search Country using Alpha-2 Codes.

Searching only 'Rome' would result in Rome, Georgia, US rather than Rome, Italy.
To search for Rome, Italy --- search: 'Rome, IT'.

Searching only 'Arlington' would result in Arlington, Texas, rather than Arlington, Virginia.
To search for Arlington, Virginia --- search: 'Arlington, VA, US'.

Display Example Image

Current 2 Versions:

(Mobile UI not yet implemented)

  1. Weather Webapp with API Key hidden in angular environment.
  2. Serverless Weather Webapp with API hidden and fetched though AWS Lambda.

Installation

  1. Clone repository:

    terminal

    git clone https://github.com/Systemized/Weather-Panel.git
    cd weather-app
  2. Register at OpenWeatherMap for API key. Then, add API key to environment files, and run dev server

    environment.ts & environment.prod.ts

    export const environment = {
        production: true,
        openWeatherApiKey: '<API_KEY>'
    };

    terminal

    ng serve

About

Severless weather (via lambda) web-app built on Angular/Typescript, using OpenWeather API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published