This boilerplate requires Node.js v12+ to run.
Install the dependencies and devDependencies and start the server.
cd NodeJs-MongoDB-Mongoose-Express-SocketIO-Boilerplate
nano .env [add required variables -> I have added .env.local for example]
npm i
npm start
How to manage in production mode? [Run, Delete, View Logs etc.]
npm i pm2 -g
pm2 start production.config.json
pm2 startup systemd
pm2 save
pm2 logs [to check all logs]
pm2 delete all [to delete all processes attached with pm2]
https://www.instagram.com/axel_blaze_csgo/
https://www.youtube.com/c/FranklinThaker