A modern weather application built with React, Redux, and TypeScript.
- Real-time weather data
- Location-based weather information
- Responsive design
- Search history
- Clean and intuitive UI
- React 18 - Modern React with hooks
- Redux Toolkit - State management
- TypeScript - Type-safe development
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Modern component library
- Axios - HTTP client for API requests
- React Query - Data fetching and caching
- Clone the repository:
git clone <YOUR_REPOSITORY_URL>
cd weather-app- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:8080
npm run dev- Start the development servernpm run build- Build the project for productionnpm run build:dev- Build the project in development modenpm run lint- Run ESLintnpm run preview- Preview the production build
src/
├── components/ # React components
│ ├── ui/ # Reusable UI components
│ ├── WeatherApp.tsx # Main weather app component
│ ├── WeatherCard.tsx # Weather display component
│ └── ...
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
├── pages/ # Page components
├── store/ # Redux store and slices
└── ...
This app uses the OpenWeatherMap API to fetch real-time weather data.