Deploying to Heroku
Heroku is a Platform as a Service provider that lets you deploy apps of multiple platforms on their servers. Basically, Heroku hosts server apps in such a way that you can scale them horizontally by launching multiple replicas of your app or vertically, by scaling the hardware spec such as increasing memory, CPU, or disk space. This allows you to start out small and help you run your app elegantly without having to worry about all the infrastructure that you need to configure, set up, and maintain a MongoDB server or load balancer.
Deploying is easy as well. It is as simple as pushing code using git. The magic of how it builds and runs the app is in the build packs, which are written by the Heroku team and sometimes by the community; they let you build and run the app on the server without having to write your own deployment scripts. This build pack needs to be added for our Vapor app and Vapor toolbox has a handle script to automate all of this for us, making it a lot...