Application built with React and Vite to fetch and display current weather and forecast data using the OpenWeatherMap API. This is a simple frontend application that makes API requests to retrieve weather information. No backend installation is required.
To begin, clone or fork this repository from GitHub to your local machine:
# Clone the repository
git clone https://github.com/mgblanco10/weatheAndForecast.git
# Navigate into the project directory
cd weatheAndForecast npm installnpm run devThe application will now be available at:
http://localhost:5173/- Input Coordinates: Enter the latitude and longitude in the provided input fields.
- Search by City: Alternatively, you can enter the name of a city to fetch its weather data.
- Fetch Weather Data: Click the "Check Weather" button to retrieve the weather data using the OpenWeatherMap API.
- View Results: The application will display weather information for the entered coordinates, including a detailed 7-day forecast.
- Include additional weather details such as UV index and air quality index.
- Add user authentication for personalized weather preferences.
This project includes an OpenWeatherMap API token to facilitate technical review. The token is designed exclusively for this test and should not be reused outside of this project. If you need to regenerate the token or set up your own, see OpenWeatherMap for more information.