Summary
In this chapter, we used ng add
to add a service worker to the application. We then configured the service worker and tested its behavior using Chrome Developer Tools. Lastly, we looked at how to debug the service worker.
In this book, we have built an app from scratch using Angular CLI. We used the Bootstrap framework to create a reusable user interface and added a module to list data that comes from an API.
Once this basic application was working, we added support for server-side rendering. We installed and configured Angular Universal and built a server using the NestJS framework. After that, we added support for dynamic metadata and a Docker configuration so that we could deploy it to the cloud. We completed the app by adding and configuring a service worker so that it could work as a Progressive Web App.