Anup
Once your Node JS application is ready to deploy, create a Procfile file on backend folder and add web: node <your main filename>. Make sure to include "start": "node <your main filename>" on package.json. Specify PORT by using process.env.PORT. Sign into Heroku website and click on create new application and give name to application. Follow the on screen instruction and add your .env variable by clicking on Settings and Reveal config var. Once your app is deployed, you'll receive your deployed app url on terminal.
Hi welcome to my blog