In a node.js application that uses multiple files the main entry point of the application is often called app.js - this is a Node.js community convention. So we should be able to run a Node.js application as:
$ node app.js
References:
$ node app.js
References:
- https://stackoverflow.com/questions/31362021/npm-start-vs-node-app-js
- https://nodejs.org/en/docs/guides/getting-started-guide/
Hire Nodejs Developers for your next web and mobile application database development
ReplyDelete