0
I understood that the express Generator only creates Boilerplate for the project. But I didn’t understand very well which is the correct way to add it to the project
I need to install the 2, or only the Generator would be enough?
- create the project folder and dou npm init
- npm i express --save
- npm i express-Generator --save
- express nameDoApp
That’s not right, because now I have 2 package.json. Have problem node_modules stay out of project folder (test-gen)?
The file structure looks like this:
the other package.json is inside the test folder.
– nanquim
There, ta. Now I understand, that’s because you gave npm local before creating the project folder.
– Chance