You have built a great project: it is modularized, has tests, has been automatized to do common tasks, and finally you have built a production version with Gulp; however, now how do you deploy to a production server?
This chapter examines what to do with the production version of your project. Here, you will see how to run your node server and frontend assets in a production environment.
There are many choices to run your project in production mode; you can deploy on a bare metal server, use a virtual machine, on a shared host such as DigitalOcean or RackSpace, or maybe just deploy it to a PaaS (Platform as a service) service such as Heroku.
In the following section, we will see how to deploy to an Heroku instance, this is the easiest way to make a deployment as you don't have to worry about the server details and you can manage all the configurations in a single configuration file.
If you already have your own infrastructure or simply prefer to work with server...