Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.47 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.47 KB

Weather Forecast React App

This React application allows users to access weather forecasts based on their current location or through location search. It utilizes APIs to retrieve weather data and provides the following functionalities:

Demo URL

Features

  • Detect Current Location:
    • Automatically detects the user's current location and displays today's weather forecast and the average temperature for the last 7 days.
  • Location Search:
    • Allows users to search for a specific location.
    • Displays the current date's forecast and the average temperature for the last 7 days.

Getting Started

Follow these steps to run the project locally:

  1. Clone the repository:

    git clone <repository-url>
  2. Navigate to the project directory:

    cd weather-app
  3. Install dependencies:

    npm install
  4. Run the app:

    npm start

Technologies Used

  • React.js
  • JavaScript
  • APIs (for fetching current location IP address and weather forecast details as per the location)
  • HTML
  • SCSS

Usage

Upon opening the app:

  • This app will detect the user's IP Address and display today's forecast for that location.
  • Users can also use the search feature to find weather forecasts for specific locations.
  • For searched locations, the app shows the current date's forecast and provides the average temperature and weather conditions for the last 7 days.