u/Delicious-Ad-3552in r/node • Recommends
On “How to deploy my nodejs app”
…ing pm2 start app.js.
7. Monitor ur app using pm2 monit
The Database:
1. Create a Postgres managed database
2. Add ur droplet as a server that can connect to the database.
3. And then ur app is ready to run from ur droplet after u add the connection credentials on ur node js file.
Check this YouTube video as well in case you get stuck anywhere
link to this video…