This is a simple weather app that uses the OpenWeatherMap API to get the weather data for a given city.
- Clone the repository
- Install the dependencies with
npm install - Create a
.envfile in the root of the project with the following content:
VITE_WEATHER_API_KEY=your_openweathermap_api_key
VITE_API_BASE_URL=https://api.openweathermap.org/data/2.5
- Run the app with
npm run dev
- React
- Vite
- TailwindCSS
- React Query
- Axios
- React Router
- React Toastify
- React Context Devtool
- React Dark Mode Toggle
- MUI
- Search for a city
- View the weather data for the city
- View the forecast for the city
- View the current location
- Dark mode
- Responsive design