Welcome to the Weather Web App! This application allows users to search for weather information for different cities.
- Current Weather: View current weather details including temperature, humidity, and wind speed for the searched city.
- Forecast: Get a 5-day temperature details for the searched city for each day.
- Automatic Location Detection: The app automatically detects the user's location to provide weather information for their current city.
- Toogle Modes: User can also switch between light and dark mode.
- Search for a City: Enter the name of the city you want to get weather information for in the search bar.
- View Weather Details: Once you submit the city name, the app will display current weather details and a 5-day forecast.
- Automatic Location Detection: If you don't specify a city, the app will automatically detect your location and show weather details for your current city.
- CSS: Used for adding styles to make UI visually appealing.
- React: Frontend framework for building the user interface.
- JavaScript (ES6+): Programming language used for application logic.
- Fetch API: Used to make HTTP requests to fetch weather data from the OpenWeatherMap API and IP address information from ipify.org and ipapi.co.
- Clone the repository to your local machine: git clone https://github.com/Saurabh23089/mausam.git
- Navigate to the project directory: cd mausam
- Install dependencies: npm install
- Start the Development server: npm run dev
- View webapp: Open your browser and go to http://localhost:5173 to view the app.