Post in Progress
As the number of side projects grew. I had to stream line the way I build and deploy these projects with time and cost in mind. I moved all the side projects with static content to Netlify and I use a Digital Ocean VPS for Dynamic sites with Databases.Before you proceed any futher Please note I am a Learner/Beginner and sometimes I may get few things wrong and for that reason do your due diligence when deploying in Production. Let’s begin….
What is PM2?
PM2 is a nodeJs process manager for production with built in Load-balancer. It works on Mac, Linux and Windows. With a simple Config file, you specify what processes to run and scale and PM2 takes care of the rest. This allows you to keep your NodeJs Application alive forever, and to reload with zero downtime when you have updates to your application.