learn-co-curriculum / react-hooks-npm-lab

Other
4 stars 5.97k forks source link

My JSON server uses http://localhost:3000/ #6

Closed OneShepForward closed 2 years ago

OneShepForward commented 2 years ago

Canvas Link

https://learning.flatironschool.com/courses/4550/assignments/157562?confetti=true&submitted=0

Concern

The instructions say "Run npm start to run this script, and open up localhost:5000 (Links to an external site.) in the browser.", but my JSON server uses 3000 by default.

Maybe realizing it could be different is part of the challenge though? I passed!

Additional Context

No response

Suggested Changes

No response

ihollander commented 2 years ago

Hi @OneShepForward - thanks for flagging this issue! It looks like the serve npm package recently changed the default port from 5000 to 3000:

http://github.com/vercel/serve#680

The lesson has been updated: #5