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 up when you're ready. Deploying an app to Heroku is also quite easy, as, you'll see, Heroku uses Git to deploy.
We will also set up a production database in the cloud. We will use MongoLab, which also has a free sandbox tier with enough memory to...