Deployed on Google Cloud:https://strange-cycle-400411.as.r.appspot.com
This Weather App is built with React and provides real-time weather information for a specific location. It displays current weather conditions, temperature, humidity, and wind speed.
- Node.js and npm installed
- Clone this repository to your local machine:
https://github.com/Madhavmoudhgal/Weather-App.git
- Navigate to the project directory:
cd weather-app
- Install project dependencies:
npm install
- User must enter a location to view weather information.
- Enter a city name or zip code in the search bar.
- Click the "Search" button or press the search icon."
- The app will display the current weather conditions for the entered location, including temperature, humidity, wind speed.
To use this Weather App, you'll need to obtain an API key from OpenWeather. Follow these steps to configure your API key:
-
Visit the OpenWeather website and sign up for an account.
-
Once you have an account, log in and navigate to the API Keys section.
-
Generate a new API key and copy it.
-
Open the
Weather.jsx
file in your project directory. -
Locate the variable where you store your OpenWeather API key. It may look something like this:
const api_Key = 'Your_Api_Key';
This Weather App is not only a frontend application but also features a backend component. The backend is responsible for handling API requests and fetching weather data from OpenWeather.
To access the backend and retrieve weather information, you can use the following endpoint:
- Backend API Endpoint: https://github.com/Madhavmoudhgal/Weather-appBackend.git
The backend is crucial for securely interfacing with OpenWeather's API, and it ensures the smooth operation of this Weather App.