Skip to content

steve100/weather-app

Repository files navigation

NWS Weather App

A small Flask app that:

  • Geocodes city names (smart: KNOWN coords → Nominatim → Open-Meteo)
  • Calls the National Weather Service (weather.gov) JSON APIs
  • Shows current conditions, hourly forecast, and 7-day forecast
  • Defaults to Raleigh, NC (35.7803977, -78.6390989)

Setup and Configuration

See HowToInstall-weather_app-task.txt

Run with Pure Python -

waitress-serve --listen=0.0.0.0:8000 wsgi:app

Run with Powershell and Python - task.ps1 This call run.ps1 to call waitress web server

powershell ./task.ps1 run
or

Build container image and run the container with docker

docker build -t weather-app . docker run -p 8000:8000 -e PORT=8000 weather-app

View in Browser

http://localhost:8000/

NWS Weather App Example:

WeatherApp =

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors