A responsive weather application built with React and Tailwind CSS, designed primarily for mobile use but fully responsive for all devices. This project was developed as a personal initiative to explore React capabilities, API integration, and mobile-first development.
- Search Weather: Search any city worldwide to get detailed weather information
- Geolocation: Get weather data for your current location
- Search History: View your previous weather searches
- Dynamic Backgrounds: Background changes based on:
- Current weather conditions
- Time of day
- Weather type (rain, snow, clear, etc.)
- React
- Tailwind CSS
- OpenWeatherMap API
- Geolocation API
- Responsive design for mobile and desktop
- WebP image optimization for better performance
- Royalty-free images for dynamic backgrounds
- Local storage for search history management
-
Search Page
- City search functionality
- Detailed weather information display
- Dynamic background based on weather and time
-
Location Page
- Geolocation-based weather data
- Nearest city weather information
- Real-time updates
-
History Page
- Compact view of past searches
- Quick access to previous weather data
- Integration of weekly and monthly weather forecasts
- Enhanced API integration for more detailed weather data
- Clone the repository
- Install dependencies:
`npm install`- Create a
.envfile with your OpenWeatherMap API key - Run the app:
`npm start`This project was created as a self-learning initiative to explore React, API integration, and responsive design principles.