Cannot access any route on Mac

I install dependencies using npm install and then do npm start to get a message listening on port 5000. However, when I open http://localhost:5000 on my browser nothing happens. It gets stuck trying to fetch the document.

open developer tools and check the console for errors.

it is possible there were errors during installation and many dependencies are not installed correctly. those are usually crucial parts to even run the app but yours have at least those to start the server.

there are breaking version changes in libraries since the course was created. so can you start clean, delete (or rename) package-lock.json and install with npm install --legacy-peer-deps.

then, if the problem persists, again open developer tools and check the console for errors. and copy-paste them here to inspect more.

PS: there is a possibility your nodejs version is older than required, so also include what version you are using.