A simple yet powerful Weather Application built with Django that fetches real-time weather data using the OpenWeather API.
This project demonstrates API integration, Django fundamentals, and deployment on the cloud.
- ๐ Real-time weather data (temperature, description, and icons)
- ๐ Search weather by city name
- ๐จ Responsive UI (HTML, CSS, Bootstrap)
- ๐พ Stores recent city searches in database (SQLite)
- โ๏ธ Deployed on Render (cloud hosting)
- Backend: Django (Python)
- Frontend: HTML, CSS, Bootstrap
- Database: SQLite
- API: OpenWeather API
- Deployment: Render
๐ฅ Add your demo video / screenshots here
- Clone the repository
git clone https://github.com/uzman2406/Weather_App_using_django.git cd Weather_App_using_django
2.Create virtual environment & activate
python -m venv venv source venv/bin/activate # Mac/Linux venv\Scripts\activate # Windows
3.Install dependencies
pip install -r requirements.txt
4.Add your OpenWeather API key In your views.py (or .env file if configured), replace:
API_KEY = "your_api_key_here"
5.Run migrations
python manage.py migrate
6.Start development server
python manage.py runserver
7.Open in browser ๐ http://127.0.0.1:8000