DEV Community

MD Taseen Khan
MD Taseen Khan

Posted on • Originally published at reactjsexample.com on

A React project one can find the current weather of any city irrespective of the location

A React project one can find the current weather of any city irrespective of the location

🙌 About ReactToWeather

-This is a beginner friendly project .

  • One can get weather using city name.
  • Temperature toggle available(toggle and convert temp into Fahrenheit,Kelvin,Celsius).
  • Get info about wind speed,humidity,etc.
  • Currently looking forward for new features.

*** Lets make it unique ***

💈 Want to Contribute?

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Please checkout https://github.com/ManishaSwain8/ReactToWeather/blob/master/CONTRIBUTING.md

We welcome contributions through pull requests (PRs). To submit a PR, please follow these steps:

  1. Fork the Project
  2. Clone your forked repository
git clone https://github.com/ManishaSwain8/ReactToWeather.git
Enter fullscreen mode Exit fullscreen mode
  1. Run the following command to change the working directory
cd react-to-weather
Enter fullscreen mode Exit fullscreen mode
  1. Run the following command to install all the dependencies
npm install
Enter fullscreen mode Exit fullscreen mode

or

npm i
Enter fullscreen mode Exit fullscreen mode
  1. Now go ahead and create a new branch and move to the branch
git checkout -b <branch-name>
Enter fullscreen mode Exit fullscreen mode
  1. After you have added your changes, follow the following command chain Check the changed files
git status -s
Enter fullscreen mode Exit fullscreen mode
  • Add all the files to the staging area
git add .
Enter fullscreen mode Exit fullscreen mode
  1. Commit your changes (add decent message )
git commit -m "<EXPLAIN-YOUR\_CHANGES>"
Enter fullscreen mode Exit fullscreen mode
  1. Push your changes
git push origin <branch-name>
Enter fullscreen mode Exit fullscreen mode
  1. Open a Pull Request
  • Make a pull request! (compare your branch with the owner main branch)

⚠️ Do not open PR unless it is assigned to you ,else the PR will not get merged !🚧

*** Banzai banzai, yatta ne !! ***

💫 Info about API

A React project one can find the current weather of any city irrespective of the location

Use the api from OpenWeatherMap (Current Weather Data package)

OpenWeatherMap- https://openweathermap.org/current

🧾 Prerequisites

Before starting out, you’ll need to install the following on your computer.

A React project one can find the current weather of any city irrespective of the locationA React project one can find the current weather of any city irrespective of the location

⚡ Tech Stack Used

A React project one can find the current weather of any city irrespective of the location A React project one can find the current weather of any city irrespective of the location A React project one can find the current weather of any city irrespective of the location A React project one can find the current weather of any city irrespective of the location A React project one can find the current weather of any city irrespective of the location A React project one can find the current weather of any city irrespective of the location

👀 Preview

A React project one can find the current weather of any city irrespective of the location

📜 License

This Community is Licensed under MIT license.

GitHub

View Github

Top comments (0)