A Django-based web application that fetches live weather data using the OpenWeather API and displays it in a user-friendly interface.
✅ Search for weather conditions by city
✅ Displays temperature, humidity, and weather description
✅ Auto-refreshes every 5 minutes
✅ User-friendly interface
git clone https://github.com/yourusername/weather-dashboard.git
cd weather-dashboard
python -m venv venv
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # Windows
pip install -r requirements.txt
Create a .env file in the project root and add:
OPENWEATHER_API_KEY=your_api_key_here
python manage.py runserver
Visit localhost:8000 to see the dashboard in action!
Blog Post 📖
For a detailed step-by-step guide on how this project was built, check out the full blog post:
👉 Building a Real-Time Weather Dashboard with Django and OpenWeather API