Demo.mp4
The Django Weather App is a web application that provides current weather information for cities around the world. With this app, users can easily check the weather conditions in their desired locations.
- Enter a city name to get real-time weather data.
- View temperature, weather conditions, humidity, wind speed, and more.
- Responsive design for a seamless experience on desktop and mobile devices.
To run this project locally, follow these steps:
- Clone this repository.
- Set up a virtual environment for your Django project.
- Install project dependencies using
pip install -r requirements.txt
. - Obtain an API key from a weather data provider (e.g., WeatherAPI).
- Create a
.env
file in the project root directory and add your API key: "API_KEY=your_api_key_here" - Migrate the database with
python manage.py migrate
. - Start the Django development server with
python manage.py runserver
. - Access the app in your web browser at
http://localhost:8000
.
- Enter the name of a city in the input field.
- Click the "Submit" button to fetch weather data.
- View the current temperature, weather condition, humidity, wind speed, and time of last update.
- Enjoy staying informed about the weather in your chosen locations.
Contributions to this project are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
Note: For more details about the project code and configuration, refer to the relevant files in the project directory.