Coder Social home page Coder Social logo

nabajitbhadury / weather-detector Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 8.0 7.52 MB

Weather Detector back end made in Django

Home Page: https://weather-detector-psi.vercel.app

Python 44.10% HTML 18.44% CSS 37.46%
apertre24 beginner-friendly django python

weather-detector's Introduction

Weather Detector Documentation

Introduction

Welcome to the Weather Detector project! This web application is built using Django, HTML, CSS, and JavaScript to provide users with real-time weather information for any city around the world.

Features

City Search: Users can search for the weather of any city by entering its name in the search bar.

Real-time Weather Data: The app fetches real-time weather data using a third-party API, ensuring that users get the latest and most accurate information.

Responsive Design: The application is designed to be responsive, providing a seamless experience across various devices, including desktops, tablets, and smartphones.

Installation

To run the Weather App locally, follow these steps:

Clone the Repository:

git clone https://github.com/your-username/weather-app.git

Navigate to the Project Directory:

cd weather-app

Install Dependencies:

pip install django

Configure API Key:

Obtain a free API key from a weather data provider (e.g., OpenWeatherMap). Copy the API key to the settings.py file in the weather app.

Run Migrations:

python manage.py migrate

Run the Development Server:

python manage.py runserver

Visit the Application:

Open your web browser and go to http://127.0.0.1:8000/ to access the Weather App.

Configuration

API Key:

Obtain a free API key from a weather data provider (e.g., OpenWeatherMap). Update the WEATHER_API_KEY variable in the settings.py file with your API key.

Technologies Used

Django: The web framework used for the backend development. HTML, CSS, JavaScript: Frontend technologies for creating an interactive user interface. Third-party Weather API: Used to fetch real-time weather data.

Contribution ๐Ÿš€

We welcome contributions from the community! If you'd like to contribute to this project, follow these steps:

  1. Fork the Repository:

    • Click on the "Fork" button at the top right corner of the repository page.
  2. Clone Your Fork:

    • Clone the repository from your GitHub account to your local machine.
      git clone https://github.com/your-username/Weather-Detector.git
  3. Create a Branch:

    • Create a new branch for your contribution.
      git checkout -b feature-branch
  4. Make Changes:

    • Make your desired changes to the HTML and CSS files.
  5. Commit Changes:

    • Commit your changes with a descriptive commit message.
      git commit -m "Add feature or fix"
  6. Push Changes:

    • Push your changes to your fork on GitHub.
      git push origin feature-branch
  7. Create a Pull Request:

    • Open a Pull Request (PR) on the original repository.
    • Provide a clear title and description for your PR.
  8. Review and Merge:

    • The maintainers will review your PR and may request changes.
    • Once approved, your changes will be merged into the main branch.

Syncing with Upstream ๐Ÿ”„

If the original repository has been updated, sync your fork to include the latest changes:

  1. Add Upstream Remote:

    • Add the upstream repository as a remote.
      git remote add upstream https://github.com/original-username/Weather-Detector.git
  2. Fetch Upstream Changes:

    • Fetch the changes from the upstream repository.
      git fetch upstream
  3. Merge Upstream Changes:

    • Merge the changes from the upstream repository into your local branch.
      git merge upstream/main
  4. Push Changes to Your Fork:

    • Push the updated changes to your fork on GitHub.
      git push origin main

Rollback a Commit โช

If you need to undo a commit, you can use the following command:

git revert <commit-hash>

Replace with the actual hash of the commit you want to revert.

Contributors โœจ

Thanks goes to these wonderful people ๐Ÿ’œ


Nabajit Bhadury

๐Ÿšงโœ๏ธ๐Ÿ–ฅ๏ธ

bluecoder2003

๐Ÿ’ป

Abhipriya Chowdhury

๐Ÿ’ป

SHIVADITYA BHATTACHARYA

๐Ÿ’ป

Anurag4002

๐Ÿ’ป

Arghadip Manna

๐Ÿ’ป

License

This project is licensed under the MIT License.

Thank you for using the Weather App! Stay informed about the weather in any city around the world.

weather-detector's People

Contributors

abhipriyachowdhury avatar anurag596 avatar arghadipmanna101 avatar bluecoder2003 avatar nabajitbhadury avatar richperspective007 avatar

Stargazers

 avatar

Watchers

 avatar

weather-detector's Issues

Update Readme

will add photos
will add gif
will stylize the readme
will add how to contribute
Will add contributors name in Readme file.

Fix the error

Fix the unexpected error when I put the input as "los angeles" for detect weather of los angeles

Screenshot 2024-01-04 012104

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.