8 SportsStore: deployment

This chapter covers

  • Prerendering the application
  • Adding progressive features
  • Preparing for deployment
  • Containerizing and running the deployed application

In this chapter, I prepare the SportsStore application for deployment by adding progressive features that will allow it to work while offline and show you how to prepare and deploy the application into a Docker container, which can be used on most hosting platforms.

8.1 Preparing the example application

No preparation is required for this chapter, which continues using the SportsStore project from chapter 6. To start the RESTful web service, open a command prompt and run the following command in the SportsStore folder:

npm run json

Open a second command ...

Get Pro Angular 16 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.