The Weather App is a React-based web application that allows users to get real-time weather information for any location. It fetches data from the OpenWeatherMap API and provides an intuitive interface for users to search and view current weather conditions and forecasts.
- Open the application in your browser.
- Enter the desired location in the search bar.
- Explore current weather details and the daily forecast.
- React - JavaScript library for building user interfaces.
- Axios - Promise-based HTTP client for the browser and Node.js.
- OpenWeatherMap API - Weather data API.
- Tailwind CSS - Utility-first CSS framework.
To run the Weather App locally, follow these steps:
-
Clone the repository:
git clone [repository-url]
-
Install dependencies:
npm install
-
Set up API keys:
- Create an account on OpenWeatherMap to obtain API keys.
- Create a
.env
file in the root directory and add the following:
VITE_WEATHER_API_URL = '';
VITE_DAILY_API_URL = '';
- Run the app:
npm run dev