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.
- 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
- Clone the repository:
git clone https://github.com/your-username/weather-app.git
- Navigate to the project directory:
cd weather-app
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser to view the app.
- 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.
- React
- Axios
- CSS (for styling)
- The weather data is fetched from DummyJSON.
This project is licensed under the MIT License