WeatherApp is a modern, multilingual weather application built with React and TypeScript. It provides real-time weather information using the OpenWeatherMap API with a beautiful and responsive user interface.
- π Bilingual Support (Persian & English)
- π Dark/Light Mode with system preference detection
- π Interactive Map showing city location with Leaflet
- π Temperature Chart for 6-day forecast
- π― Suggested Cities for quick search
- π± Fully Responsive Design for all devices
- β‘ Blazing Fast with Vite
- π¨ Beautiful UI with Tailwind CSS
- Node.js
- npm, yarn, or pnpm
git clone https://github.com/Mr-Syntax1/Weather-app.git
cd Weather-app
npm install
npm run dev
npm run build
npm run preview
src/
βββ π assets/ # Static images and assets
βββ π components/ # React components
β βββ Error/ # Error messages
β βββ ForecastCard/ # Weather forecast cards
β βββ LanguageToggle/ # Language switch button
β βββ Layout/ # Header, Footer, Container
β βββ Loading/ # Loading spinner
β βββ Map/ # Interactive map
β βββ Search/ # Search bar
β βββ SuggestedCities/# City suggestions
β βββ TemperatureChart/# Temperature chart
β βββ ThemeToggle/ # Theme switch button
β βββ Weather/ # Weather card & details
βββ π contexts/ # Context API (Language, Theme)
βββ π fonts/ # Persian & English fonts
βββ π hooks/ # Custom Hooks (useWeather)
βββ π locales/ # Translation files (fa, en)
βββ π services/ # API requests
βββ π types/ # TypeScript Interfaces
βββ π utils/ # Helper functions
βββ App.tsx
βββ main.tsx
βββ index.css
git checkout -b feature/AmazingFeature
git commit -m 'Add some AmazingFeature
git push origin feature/AmazingFeature
β Don't forget to star the project if you like it! β
