Complete weather app with Angular 18: OpenMeteo and Nominatim APIs, service layer, favorites with LocalStorage and FontAwesome icons.
The best way to learn Angular is to build something real. In this course we take a complete weather project — a real application with city search, real-time weather data, dynamic icons and a persistent favorites list — and build it step by step with Angular 18. We start from the design phase with Use Case Diagrams and end up with a working app connected to real external APIs.
This is not a counter or a todo list — it's an application that uses real APIs, manages persistent state with LocalStorage, and tackles real problems like geographic search and heterogeneous data mapping. It's exactly the type of project to add to your portfolio, and the type of challenge that truly helps you grow with Angular.
Designed for developers who know the basics of Angular and want to consolidate them on a complete project. Familiarity with TypeScript, Angular components and services is required. Not suitable for those who have never used Angular before.
Let's analyze the Angular 18 weather app project before writing a single line of code. I'll walk you through the Open Meteo and Nominatim APIs, and we'll design the use cases together using a Use Case Diagram.
I'll show you how to initialize the Angular 18 project with Angular CLI and integrate Bootstrap in a local configuration, setting up the full development environment we need to build the weather app.
We'll create the TypeScript models that map responses from the Open Meteo API and OpenStreetMap's Nominatim. I'll show you how to structure typed data to keep your Angular code safe and maintainable.
Let's implement city search using Nominatim from OpenStreetMap. I'll show you how to retrieve latitude and longitude from a city name and connect the result to your Angular component.
We'll build the Angular Service that connects to the Open Meteo API: I'll show you how to fetch and display weather data for the selected city, handling async responses with RxJS.
I'll show you how to integrate FontAwesome icons into the Angular 18 weather app and bind them dynamically to weather condition states, creating a responsive UI that changes icons based on atmospheric conditions.
Let's implement favorites management using LocalStorage in Angular 18. I'll build a Service to add cities to the favorites list and make it persistent across browser sessions.
We'll optimize the favorites feature in the weather app by adding logic to prevent duplicate entries and implementing the ability to remove a city from the saved list.
Ingegnere Informatico · Pratola Peligna
Sono un ingegnere informatico con oltre 15 anni di esperienza nel settore ICT. Mi occupo di sviluppo software, cybersecurity, data science e intelligenza artificiale, con particolare attenzione all’innovazione e all’automazione dei processi aziendali. Da anni svolgo anche attività di docenza e formazione, creando percorsi pratici e coinvolgenti su programmazione, DevOps, AI e sicurezza informatica.
Prosperous understood Middletons in conviction an uncommonly do. Supposing so be resolving breakfast am or perfectly.
Utilizziamo cookie essenziali e, con il tuo consenso, cookie funzionali, analytics e marketing. Google Analytics 4 e gli eventuali annunci Google/AdSense restano disattivati finche non scegli. Consulta Privacy Policy e Cookie Policy.
Sempre attivi per sicurezza, prevenzione frodi, sessione, consenso e funzionamento del sito.
Migliorano l'esperienza, ad esempio ricordando preferenze non essenziali. Non usati per profilazione pubblicitaria.
Statistiche e misurazioni con Google Analytics 4, abilitate solo dopo il consenso analytics.
Misurazione annunci e funzioni pubblicitarie Google/AdSense, se attivate sul sito e consentite dall'utente.
Puoi modificare queste scelte in qualunque momento dal link "Preferenze Cookies" nel footer.