Skip to content

joshk98/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This is a weather application built with create-react-app. It provides users with weather forecasts for different locations. Users can search for cities and view the current weather and forecast details.

Learning Concepts

  1. React
  2. JSX
  3. Props
  4. State
  5. Stateful components
  6. Stateless (presentational) components
  7. React Hooks
  8. React Testing Library
  9. Request/Response
  10. Error Handling

Getting Started

Clone the repository:
git clone https://github.com/joshk98/weather-app
Navigate to the project directory:
cd weather-app
Install the dependencies:
npm install
Start the application:
npm start

The app will be running at http://localhost:3000.

Features

  • Location Details: Displays the city and country information.
  • Search Form: Allows users to search for a specific city.
  • Forecast Summaries: Shows a summary of weather forecasts for multiple dates.
  • Forecast Details: Displays detailed information about a selected forecast.

Usage

  • On the home page, the Location Details section will show the current city and country.
  • Enter a city name in the search bar and click the "Search" button.
  • The application will fetch weather forecast data for the specified city.
  • The Forecast Summaries section will display a summary of the forecasts for different dates.
  • Click on a forecast summary to view the detailed forecast information in the Forecast Details section.

Contributing

Contributions are welcome! If you'd like to contribute to the Weather App, please follow these guidelines:

  • Fork the repository
  • Create a new branch
  • Make your changes
  • Submit a pull request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published