Skip to content

adityakumarxd/weather-app-pmaccelerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App - Flask Version

This Weather App is built using Flask backend and OpenWeatherMap API.

Features

  • 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.

Setup Instructions

  1. Clone this repo.
  2. Create and activate a Python virtual environment.
  3. Run pip install -r requirements.txt to install dependencies.
  4. Get a free OpenWeatherMap API key: https://openweathermap.org/api
  5. Set your API key as environment variable OPENWEATHER_API_KEY or replace placeholder in app.py.
  6. Run the app: python app.py
  7. Open your browser at http://localhost:5000

Product Manager Accelerator: LinkedIn

Releases

No releases published

Packages

 
 
 

Contributors