udacity / reactnd-contacts-complete

Code-along project for the Contacts app
https://www.udacity.com/course/react-nanodegree--nd019
170 stars 579 forks source link

API server at 5001 not working #10

Closed tomrlh closed 6 years ago

tomrlh commented 6 years ago

I'm at nanodegree program of react and when I cloned the project, it started, but the API server is not working. The console shows http://localhost:5001/contacts net::ERR_CONNECTION_REFUSED.

I run the npm install and npm start, am I forgetting something?

erikvp commented 6 years ago

I used the following to run the server at localhost:5001: $ node server.js Server listening on port 5001, Ctrl+C to stop

For the React application running on localhost:3000: $ yarn start But it also works using: $ npm start