Difference between `npm start` & `node app.js`, when starting app?

I have installed an application using the command express new 'filename'. I have just learned that you can start an application using:

npm start

Thus far I have used:

node app.js

to start my server. Anyone know what the difference is between the two? Thanks.

2 Answers
2

Leave a Comment