This ReactJS project allows users to view the weather forecast for different cities. Additionally, it provides detailed weather information for the selected city, including data such as Probability of Rain, Thermal Feeling, Wind Speed, Air Humidity, and more. Moreover, it offers users weekly weather forecasts for their selected cities.
- ReactJS
- OpenWeatherMap API
- Clone this repository:
git clone <(https://github.com/VeyselGaziDuran/weatherApp)>
- Navigate to the project directory in your terminal:
cd WeatherApp
- Install the required packages by running:
npm install
- Start the development server using Vite:
npm run dev
- Visit OpenWeatherMap API to obtain an API key.
- Create a
.env
file in the root directory of your project if it doesn't exist. - Open the
.env
file and add the following line: REACT_APP_OPENWEATHERMAP_API_KEY=000000000000
- Use the search bar on the home page to find the city you want.
- Weather details and forecasts will be displayed, including the specified weather parameters.
- Weekly weather forecasts for the selected city can be found at the bottom of the page.