Skip to content

jawid-fakhari/weather_app_react.js

Repository files navigation

Weather App with React + Vite

This project is a simple weather application built using React and Vite, showcasing the use of APIs for fetching weather data.

Getting Started

To get started, follow these steps:

  1. Clone the repository:

  2. Navigate to the project directory:

  3. Install dependencies:

npm install
  1. Start the development server:
npm run dev

Features

  • Convert city name to latitude and longitude from (https://open-meteo.com/)
  • Fetch weather data using a public API from (https://open-meteo.com/)
  • Display current weather conditions, temperature, and hourly forecast
  • Allow users to search for a city and view its weather information
  • Allow users to create a favorite list of cities with weather information

Tech Stack

  • React
  • Vite
  • Axios: A promise-based HTTP client for making API requests
  • Tailwind
  • React Chartjs 2

Additional Resources

License

This project is licensed under the MIT License.


This README provides a brief overview of the weather app project, installation instructions, features, tech stack, additional resources, and guidelines for contributing and licensing.