Skip to content

MarcelVoigt92/React-Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Weather App

This is a weather application that allows users to search for the current weather of a location. The app uses the OpenWeatherMap API to retrieve the weather data.

How to Use

To use this app, follow these steps:

  1. Clone or download this repository.

  2. Obtain an API key from OpenWeatherMap API.

  3. Create a new file called .env in the root directory and store your API key as a variable named REACT_APP_WEATHER_API_KEY.

  4. Run npm install to install the necessary dependencies.

  5. Run npm start to start the app.

  6. In the app, enter the name of a location and click the Search button. The current weather of the location will be displayed.

Note: An API key from OpenWeatherMap API is required to use this app.