To init Node app, simply follow these steps:
- Install NodeJs and NPM on Your PC https://nodejs.org
- Make sure NodeJs and NPM(NodeJs Package Manager) work
$ node -v
$ npm -v
- Create a directory for Your app, for example
$ mkdir course-express
- Init NodeJs in that directory
$ cd course-express
$ npm init
- Follow the instruction, insert the data needed, and enter on every step
After following all of the steps above, it will generate package.json file for you that consist of NodeJs app informations.