bryantheastronaut / mernCommentBox

A Tutorial on creating a MERN Stack App from the Facebook Comment React Tutorial
https://medium.com/@bryantheastronaut/react-getting-started-the-mern-stack-tutorial-feat-es6-de1a2886be50
248 stars 92 forks source link

Heroku deploy api not working #18

Open akbarbin opened 6 years ago

akbarbin commented 6 years ago

I have deploy in the heroku but the https://limitless-mountain-87107.herokuapp.com:3001/api/comments doesn't show json data.

How to run yarn start-dev in heroku?

Thanks

yam-b commented 6 years ago

Edit: Please ignore everything that was written here before, the answer was not complete and did not lead to a working model.

It's 4AM here, but I'm happy to say that I was able to set up a working heroku app! I used this guide to do the ERN part of MERN, this guide to do the M part of MERN, this guide to deploy. I will write a more concise tutorial on my own blog, but the bits and pieces (and mostly failing) here at mernCommentBox really helped me. Happy coding!