Weather App is an application that provides users with real-time weather information. With this app, users can find out the current temperature, weather conditions, and other meteorological data for any city.
- 🌎 City Search: Users can look up the weather for their desired cities.
- 🌡️ Real-Time Temperature Info: Displays the current temperature.
- 🌧️ Weather Icons: Displays icons corresponding to the current weather condition.
- 📅 4-Day Forecast
- 🌐 API Integration: Uses OpenWeather API.
- HTML5: Structural skeleton of the project.
- CSS3: Responsive and elegant design.
- JavaScript: For dynamic data handling.
- Node.js
- OpenWeather API: Used to fetch weather data.
Follow these steps to run the project locally:
-
Clone this repository:
git clone https://github.com/enescopler/weather-app.git cd weather-app
-
Install the required dependencies:
npm install npm install dotenv express node-fetch nodemon
-
Start the application:
npm run devStart
-
The application will run at
http://localhost:3000
by default.
- An OpenWeather API key is required. Follow these steps to obtain one:
- Go to the OpenWeather API website and sign up.
- Get your API key.
- Add it to the project in a
config.js
or.env
file:const API_KEY = "YOUR_API_KEY";
If you want to contribute:
- Fork this repository.
- Create a new branch:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -m "Descriptive message"
. - Push to the branch:
git push origin feature-name
. - Open a Pull Request.
This project is licensed under the MIT License. For more details, see the LICENSE file.
If you have any questions, feel free to reach out:
- GitHub: enescopler
- Email: [email protected]