Install Sails.js with Apache as a reverse proxy on CentOS 7

In today’s article we will install Sails.js on a CentOS 7 VPS with Apache configured as a reverse proxy.

Sails.js is a Javascript framework designed to emulate the familiar MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps:
data-driven APIs with a scalable, service-oriented architecture.
Sails.js is database agnostic, automatically generates a RESTful JSON API for your app, provides basic security and role-based access control by default, has automatic asset minification and many more.