A real-time weather forecast application built with React, Material-UI, and OpenWeatherMap API, providing accurate weather information for cities around the world in a clean, responsive design.
- ๐ Search any city to get real-time weather updates.
- ๐ก๏ธ Displays temperature, humidity, and conditions.
- ๐ฅ๏ธ Detailed weather descriptions and feels-like temperature.
- ๐ฑ Responsive design suitable for all screen sizes.
- ๐จ Modern UI powered by Material-UI.
- Frontend: React, Material-UI, CSS Modules
- API: OpenWeatherMap API
- Version Control: Git & GitHub
Run the following command to clone the repository and navigate into the project folder:
git clone https://github.com/KaranMehta1806/WeatherProject.git
cd WeatherProjectRun the following command to install all the required dependencies for the project:
npm installCreate a .env file in the root directory of the project and add your OpenWeatherMap API key. The .env file should look like this:
VITE_WEATHER_API_KEY=your_api_key_hereOnce the dependencies are installed and the .env file is set up, you can start the development server with the following command:
npm run dev-
Open the app in your browser at:
http://localhost:5173 -
Enter a city name in the search bar.
-
Click Search to view the current weather conditions for the specified city
Feel free to connect with me through the following platforms:


