Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.2 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.2 KB

Weather App

This is a simple weather application built using React. It fetches data from a mock API and displays weather information. Users can toggle between dark and light themes and load more weather data.

Features

  • Fetches weather data from a mock API
  • Displays weather information including title, description, and thumbnail
  • Supports dark and light themes
  • Allows users to load more weather data

Installation

  1. Clone the repository:
git clone https://github.com/your-username/weather-app.git
  1. Navigate to the project directory:
cd weather-app
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 in your browser to view the app.

Usage

  • The app will initially display weather information fetched from the API.
  • Users can toggle between dark and light themes by clicking the sun icon.
  • Clicking the "Load More" button will fetch and display additional weather data.

Technologies Used

  • React
  • Axios
  • CSS (for styling)

Credits

  • The weather data is fetched from DummyJSON.

License

This project is licensed under the MIT License