iWeather is a simple weather application built using React.js. It allows users to search for weather information based on the city name and displays various weather parameters such as temperature, humidity, and wind speed.
- Search: Users can enter the name of a city to retrieve its weather information.
- Temperature Display: The temperature is displayed in Celsius.
- Humidity and Wind Speed: Additional weather parameters like humidity percentage and wind speed are also provided.
- Error Handling: If a city is not found, an appropriate error message is displayed.
- React.js: The frontend framework used for building the application.
- Tailwind CSS: Utility-first CSS framework used for styling.
- OpenWeatherMap API: API used for fetching weather data based on the user's search query.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/arnavnagpurkar/iWeather.git -
Navigate to the project directory:
cd iWeather -
Install dependencies:
npm install -
Set up environment variables:
Obtain an API key from OpenWeatherMap and add it to your environment variables file (
.env.local) asVITE_API_KEY. -
Start the development server:
npm run dev
Contributions are welcome! If you'd like to contribute to this project, feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.