How run node js project on localhost

First set the port on app.js or server.js or any other page



after that call this given method on on your page (server.js/app.js)


after the call open the cmd and go to the project path using cd command

then run  node filename  

like  node server.js


then run localhost:3300 on your browser

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *