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

route /api/comments goes to 404 #24

Closed aravishack closed 6 years ago

aravishack commented 6 years ago

i cloned this application , updated the Mlab creds and run it. Application is not working because its showing the error, http://localhost:3000/api/comments not found. I am using the port number 3000 instead of 3001.

Could please help me in debugging this ?

laurareyeslarrosa commented 6 years ago

@Aravind-WMG you need to create your own mLab account (https://mlab.com/) then create a database, get a user in it and then update the server.js with the database data