Chapter 14. Deploying and Scaling the SPA

Having built the core functionality of the application, now it's time to move the SPA into a production-like environment that is accessible from the Internet. For this, we will be using Platform as a Service (PaaS).

PaaS is a type of a cloud-based service that allows developers to launch applications on managed infrastructure. Before PaaS, developers or operations engineers had to perform a lot of setup and maintenance tasks, such as provisioning hardware, installing operating software, and insuring uptime.

There are a number of PaaS providers, but I have chosen Heroku. One reason for this is that you can stand up an application for free on a sandbox, which will allow you to experiment on the app and scale ...

Get Mastering JavaScript Single Page Application Development 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.