A simple React weather app built with Vite. Uses state, caching, and OpenWeatherMap API for real-time weather data. No CSS library used.
- Clone the repository.
- Install dependencies:
npm install. - Start the development server:
npm run dev.
This app fetches real-time weather data from the OpenWeatherMap API. Replace the API key in the fetchWeatherData.js file with your own.
└───src
│ App.css
│ App.jsx
│ fetchWeatherData.js
│ main.jsx
│
├───assets
└───components
│ SearchForm.jsx
│ utils.js
│ WeatherDetails.jsx
│
└───css
SearchForm.css
WeatherDetails.css