Skip to content

Faculty-of-Computing/WeatherApp

Repository files navigation

🌤️ Flask Weather App

A simple weather app that shows current weather conditions for any city using Flask and OpenWeatherMap API.

🚀 How to Run

  1. Install dependencies
    pip install -r requirements.txt
    

Get API Key

Sign up at OpenWeatherMap Copy your API key

Add your API key

Create a .env file Replace YOUR_OPENWEATHER_API_KEY with your actual key

Run the app python app.py

Open browser

Go to http://127.0.0.1:5000 Search for any city!

🛠️ Files

app.py - Flask backend templates/index.html - Frontend with CSS/JS

That's it! 🎉

About

A complete Flask weather application using the OpenWeatherMap API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11

Languages