Tag: hosting nodejs

HOW TO HOST NodeJS APP IN UBUNTU 18.4

Install nodejs: #apt update #curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh #bash nodesource_setup.sh #apt install nodejs Verify installation using below commands: #node -v #npm -v Install pm2 process manager: #npm i -g pm2 (Install globally) Install mongoDB: curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc…

Read More »