Skip to content

kennywam/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

Weather App

The Weather App is a web application that allows users to search for a place and check its weather. It utilizes the OpenWeatherMap API to retrieve weather data based on user input.

Features

  • Search for a location to check its weather .
  • Display a list of matching locations as the user types.
  • View weather details including temperature, humidity, and wind.

Technologies Used

  • React, Typescript and Tailwind CSS.
  • OpenWeatherMap API: Provides weather data and forecasts.

How to Run the App

Follow these steps to run the Weather App on your local machine:

  1. Clone the repository:

git clone https://github.com/kennywam/Weather-App.git

  1. Navigate to the project directory:

cd weather-app

  1. Install the dependencies:

npm install

  1. Obtain an API key from OpenWeatherMap by signing up and creating an API key.

  2. Create a .env.local file in the project root directory and add your API key:

Weathe_App_API_KEY=your_api_key_here Note: I included the API in the code to avoid gitigore

  1. Start the development server:

npm start

  1. Open your browser and go to http://localhost:3000 to view the app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published