https://github.com/rajkelawala/weather_project
A Django-based weather application that fetches real-time weather data.
https://github.com/rajkelawala/weather_project
css django html openweather-api python
Last synced: 3 months ago
JSON representation
A Django-based weather application that fetches real-time weather data.
- Host: GitHub
- URL: https://github.com/rajkelawala/weather_project
- Owner: rajkelawala
- Created: 2025-02-28T07:11:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-03T07:31:43.000Z (over 1 year ago)
- Last Synced: 2025-06-04T07:25:03.880Z (about 1 year ago)
- Topics: css, django, html, openweather-api, python
- Language: Python
- Homepage:
- Size: 76.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather Project ☀️🌧️
A Django-based weather application that fetches real-time weather data and 5-day forecasts for multiple cities using the OpenWeatherMap API.
## Features ⚡
- **Real-Time Weather Data**: Fetches and displays current weather conditions for user-specified locations.
- **Responsive Design**: User-friendly interface compatible with various devices.
- **Modular Structure**: Organized codebase for scalability and maintainability.
## Technologies Used 🛠️
- **Backend**: Python (Django Framework)
- **Frontend**: HTML, CSS
- **API**: OpenWeatherMap
## Installation ⚙️
1. **Clone the repository**:
```bash
git clone https://github.com/rajkelawala/Weather_project.git
cd Weather_project
```
2. **Create and activate a virtual environment**:
```bash
python -m venv venv
venv\Scripts\activate
```
3. **Install dependencies**:
```bash
pip install -r requirements.txt
```
4. **Create migrations**:
```bash
python manage.py makemigrations
```
5. **Apply migrations**:
```bash
python manage.py migrate
```
6. **Run the development server**:
```bash
python manage.py runserver
```
7. **Access the application**:
Open your web browser and navigate to `http://127.0.0.1:8000/`.
## Usage 🎯
- **Search for Weather Information**: Enter the desired city or location in the search bar to retrieve current weather data.
- **View Weather Details**: The application displays temperature, humidity, weather conditions, and more.
## Contributing 🌍
Contributions are welcome! To contribute:
1. **Fork the repository**.
2. **Create a new branch**:
```bash
git checkout -b feature/YourFeatureName
```
3. **Make your changes and commit them**:
```bash
git commit -m 'Add some feature'
```
4. **Push to the branch**:
```bash
git push origin feature/YourFeatureName
```
5. **Open a Pull Request**.
## License 📝
This project is licensed under the MIT License. See the LICENSE file for details.
## Contact 📬
Developed by Raj Kelawala. For any inquiries or feedback, please contact me at [rajkelawala28@gmail.com](mailto:rajkelawala28@gmail.com).