Skip to content

Maskalito/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This is a simple weather app built using React and TypeScript. It allows users to search for weather information for a specific location and displays the current temperature, weather description, feels-like temperature, humidity, wind speed, a sun/moon emoji based on the time of day and more.

Features

  • Search for weather information by entering a city name.
  • Displays current weather details, including temperature, description, feels-like temperature, humidity, wind speed, etc.
  • Shows a sun emoji ☀️ if it's daytime and a moon emoji 🌕 if it's nighttime.

Installation

  1. Clone the repository:
git clone git@github.com:Maskalito/WeatherApp.git
  1. Change to the project directory
cd WeatherApp
  1. Install the dependencies using npm or yarn
npm install

or

yarn install

API key

  1. Go on the site https://www.weatherapi.com/. Sign up (for free) and on your page copy your api key.

  2. Create a .env file that use .env.example architecture

Run the app

  1. Start the development serveur :
npm start

or

yarn start

Technologies Used

  • React: A JavaScript library for building user interfaces.
  • TypeScript: A typed superset of JavaScript that helps improve code quality and maintainability.
  • Axios: A popular library for making HTTP requests.
  • CSS: Styling the user interface.

Credit

The weather data is provided by WeatherAPI.com.

About

This is a simple weather app built using React and TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors