Skip to content

Ayanleaideed/Django-Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Weather App

Showcase

Demo.mp4

Screenshot 1 Screenshot 2

Description

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.

Features

  • 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.

Getting Started

To run this project locally, follow these steps:

  1. Clone this repository.
  2. Set up a virtual environment for your Django project.
  3. Install project dependencies using pip install -r requirements.txt.
  4. Obtain an API key from a weather data provider (e.g., WeatherAPI).
  5. Create a .env file in the project root directory and add your API key: "API_KEY=your_api_key_here"
  6. Migrate the database with python manage.py migrate.
  7. Start the Django development server with python manage.py runserver.
  8. Access the app in your web browser at http://localhost:8000.

Usage

  1. Enter the name of a city in the input field.
  2. Click the "Submit" button to fetch weather data.
  3. View the current temperature, weather condition, humidity, wind speed, and time of last update.
  4. Enjoy staying informed about the weather in your chosen locations.

Contributions

Contributions to this project are welcome!

License

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published