Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 1.39 KB

README.md

File metadata and controls

68 lines (43 loc) · 1.39 KB

Weather App

A simple React app that allows users to search for weather information in different cities using a search bar. The app utilizes a weather API to fetch real-time weather data.

Features

  • Search for weather in different cities
  • Display current weather information
  • Responsive design for a seamless experience on various devices

Technologies Used

  • React
  • Weather API
  • fetch for making HTTP requests
  • Bootstrap
  • Tailwind

Installation

  1. Clone the repository:

    git clone https://github.com/MuchokiDavid/weather-app.git
  2. Navigate to the project directory:

    cd weather-app
  3. Install dependencies:

    npm install
  4. Create a .env file in the root directory and add your weather API key:

    REACT_APP_WEATHER_API_KEY=your-api-key

    Make sure to replace your-api-key with the actual API key you obtained.

Usage

  1. Start the development server:

    npm start
  2. Open your browser and visit http://localhost:3000

  3. Use the search bar to look up weather information in different cities.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to create an issue or submit a pull request.

License

This project is licensed under the MIT License.

Author

David Muchoki