This is a simple weather app created using React and OpenWeatherMap API to fetch weather data, built with Vite.
- Displays current weather conditions including temperature, humidity, wind speed, and weather description.
- Allows users to search for weather information of different locations.
- Responsive design, suitable for various screen sizes.
-
Clone the repository: git clone
-
Navigate to the project directory: cd weather-app
-
Install dependencies: npm install
-
Obtain an API key from OpenWeatherMap if you haven't already.
-
Create a
.env
file in the root directory of the project. -
Add your API key to the
.env
file: VITE_API_KEY=your_api_key_here -
Start the development server: npm run dev
-
Open your browser and navigate to
http://localhost:5173/
to view the app.
- React
- Vite
- HTML/CSS
- OpenWeatherMap API