Skip to content

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.

Notifications You must be signed in to change notification settings

MuchokiDavid/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published