Saturday 13 May 2017

MERN app on Heroku

I'm trying to get mern app working on heroku. But right now even fixing of node server would be enough.

This is what i have already done.

  1. Created app in heroku and push my project to it.
  2. Added mLab database link. (running properly on local server)
  3. put dev dependencies on the dependencies.
  4. Tried running "heroku run node server.js" through heroku CLI. Then it logs as server started on port 8080.

But I cannot access the API or the web interface. My app url = http://travelaround.herokuapp.com



via HelpingHand

No comments:

Post a Comment