https://github.com/imaliahmad/weather-app-angular-19
A modern weather application built with Angular 19 that displays current conditions and forecasts using OpenWeatherMap API.
https://github.com/imaliahmad/weather-app-angular-19
angular19 bootstrap openweathermap-api rxjs standalone-components typescipt weather-app
Last synced: 9 months ago
JSON representation
A modern weather application built with Angular 19 that displays current conditions and forecasts using OpenWeatherMap API.
- Host: GitHub
- URL: https://github.com/imaliahmad/weather-app-angular-19
- Owner: imaliahmad
- Created: 2025-04-09T09:39:26.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-16T04:42:50.000Z (10 months ago)
- Last Synced: 2025-04-27T09:58:12.889Z (9 months ago)
- Topics: angular19, bootstrap, openweathermap-api, rxjs, standalone-components, typescipt, weather-app
- Language: TypeScript
- Homepage:
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ค๏ธ Weather App - Angular 19
A modern weather application built with **Angular 19**, providing real-time weather conditions and forecasts using the **OpenWeatherMap API**.
---
## ๐ Features
- ๐ Select locations by **country and city**
- ๐ Automatic **geolocation** detection
- โ
**Current weather** conditions with detailed metrics
- ๐ **24-hour forecast** with horizontal scrolling
- ๐ **7-day weather** forecast with daily summaries
- ๐ฑ **Responsive design** for all devices
- ๐ **Real-time updates** using RxJS
- ๐พ Location **persistence with local storage**
---
## ๐ ๏ธ Technologies Used
- **Angular 19** โ Standalone component architecture
- **TypeScript** โ Type-safe codebase
- **RxJS** โ Reactive programming
- **Bootstrap 5** โ Responsive UI framework
- **OpenWeatherMap API** โ Weather data provider
---
## ๐งฉ Project Structure
This app utilizes Angular 19's **standalone component** architecture:
- ๐ฆ Components: Dashboard, Location Selector, Forecasts
- ๐ Services: API communication, state management
- ๐งพ Interfaces: Type-safe weather data models
- โ๏ธ Configuration: `app.config.ts`, `app.routes.ts`
---
## ๐ Setup Instructions
### 1. Clone the Repository
### 2. Install Dependencies
### 3. Set Up Your API Key
- Sign up at [OpenWeatherMap](https://openweathermap.org/)
- Add your API key in `src/environments/environment.ts`
### 4. Run the Development Server
Then open your browser and navigate to:
**http://localhost:4200**
---
## ๐งฑ Angular 19 Standalone Architecture Highlights
- โ No `NgModules` (except for bootstrapping)
- ๐งฉ Each component declares its own dependencies
- ๐ง Configuration via `app.config.ts`
- ๐บ๏ธ Routing via `app.routes.ts`
- ๐ Bootstrapped using `bootstrapApplication` in `main.ts`
---
## ๐จโ๐ป User Guide
1. Select a **country** from the dropdown
2. Choose or search for a **city**
3. Click **"Get Weather"** to view the forecast
4. Or click **"Use my current location"** for auto-detection
---
## ๐ธ Screenshots
---
## ๐ฎ Future Enhancements
- ๐ก๏ธ Toggle between **Celsius and Fahrenheit**
- ๐บ๏ธ Weather **maps** for precipitation, temperature, etc.
- ๐ฐ๏ธ Historical weather data
- ๐จ Weather **alerts and notifications**
- ๐ **Dark mode** support
- ๐ **Multi-language** support
---
## ๐ค Contributing
Contributions are welcome! ๐
---
## ๐ License
This project is licensed under the **MIT License**.
See the [LICENSE](LICENSE) file for details.
---
## ๐ Acknowledgements
- [OpenWeatherMap](https://openweathermap.org/) โ Weather data
- [Bootstrap](https://getbootstrap.com/) โ UI components
- [Angular](https://angular.io/) โ Web application framework
---
## โญ Like this project?
Give it a star! It helps others discover the project and motivates further development. ๐