Host your nodejs application on Heroku

Yash Sharma
1 min readMar 28, 2018
  1. Firstly create your account on Heroku .
  2. Create a new application from the dashboard.
  3. Install heroku client through this https://devcenter.heroku.com/articles/heroku-cli
  4. Then login via the terminal heroku login
  5. Run this heroku git:remote -a 'projectName' in your project directory.
  6. To deploy ,
  7. git add .
  8. git commit -m “message”
  9. and then push your code to heroku server git push heroku master
  10. The code is deployed automatically and the server is started on
    https://projectName.herokuapp.com

--

--