Skip to content

enescopler/weather-app

Repository files navigation

Weather App

🌤️ Project Description

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.


🚀 Features

  • 🌎 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.

🛠️ Technologies Used

  • 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.

🔧 Setup and Usage

Follow these steps to run the project locally:

  1. Clone this repository:

    git clone https://github.com/enescopler/weather-app.git
    cd weather-app
  2. Install the required dependencies:

    npm install
    npm install dotenv express node-fetch nodemon
  3. Start the application:

    npm run devStart
  4. The application will run at http://localhost:3000 by default.


📋 API Usage

  • An OpenWeather API key is required. Follow these steps to obtain one:
    1. Go to the OpenWeather API website and sign up.
    2. Get your API key.
    3. Add it to the project in a config.js or .env file:
      const API_KEY = "YOUR_API_KEY";

📸 Screenshots

Screenshot


🤝 Contributing

If you want to contribute:

  1. Fork this repository.
  2. Create a new branch: git checkout -b feature-name.
  3. Make your changes and commit them: git commit -m "Descriptive message".
  4. Push to the branch: git push origin feature-name.
  5. Open a Pull Request.

📜 License

This project is licensed under the MIT License. For more details, see the LICENSE file.


✨ Contact

If you have any questions, feel free to reach out:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published