This Weather App is built using Flask backend and OpenWeatherMap API.
- Enter a location (city, zip/postal code, GPS coords) to get current weather.
- Get 5-day forecast.
- Use browser geolocation to get weather for current location using API endpoint.
- Error handling for invalid locations.
- Info modal describing the app and Product Manager Accelerator.
- Clone this repo.
- Create and activate a Python virtual environment.
- Run
pip install -r requirements.txtto install dependencies. - Get a free OpenWeatherMap API key: https://openweathermap.org/api
- Set your API key as environment variable
OPENWEATHER_API_KEYor replace placeholder inapp.py. - Run the app:
python app.py - Open your browser at http://localhost:5000
Product Manager Accelerator: LinkedIn