Issue with npm start stuck on starting `node ./bin/www`

https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-22-connecting-front-end-to-back-end/modules/fscp-22-connecting-front-end-to-back-end/articles/off-platform-project-restful-restaurants

I am dealing with the code downloaded directly from this project, however I am having this error whenever I run npm start on backend code with nodemon.

After running npm start –

backend@0.0.0 start
nodemon ./bin/www

[nodemon] 2.0.15
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node ./bin/www

It gets stuck at starting and does not go beyond this.
I have tried restarting my computer, reinstalling nodemon, npm update, running node ./bin/www directly (which gets stuck). I am not sure how to fix this.

Hello!

This is fine. Try opening http://localhost:3000/restaurants in your browser and you will see the data from the server.

Or you can start the server like DEBUG=backend:server npm start and you will see debug output with line like backend:server Listening on port 3000. So server is started and listen to port 3000.

PS I used the solution code for testing.