Host your nodejs application on Heroku

  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

Javascript Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yash Sharma

Yash Sharma

Javascript Developer

More from Medium

How I created a Nodejs Express App in less than 1 minute using webstorm IDE

How to Scrape Glassdoor Data with Node.js

NodeJS Learning Part 1