Project overview
In this chapter, we will build a Blazor WebAssembly app to display a local 5-day weather forecast and then convert it into a PWA.
The web app we will build uses JavaScript's Geolocation API to determine the current latitude and longitude of the device. It uses the OpenWeather One Call API to obtain the local weather forecast and uses a variety of Razor components to display the weather forecast to the user. After we have completed the web app, we will convert it into a PWA by adding a logo, a manifest file, and a service worker. Finally, we will install, run, and uninstall the PWA.
This is a screenshot of the completed application:
The build time for this project is approximately 120 minutes.