express frame to use:
Step 1: Generate a (express) project
Command prompt box instructions are:
express (filename)
express -e (file name)
The effect of two instructions is to generate a (express) project differences:
The above picture is the content express -e generated view files and folders
The above picture is the contents of express generated file and folder,
About the role of the following folders and individual instruction is generated:
effect:
bin startup file
public static files
package.json profile
views view file
routes stored routing
app.js main program folder
node mondules project dependencies
instruction:
cnpm i action: generating a project depends
npm init action of: generating a file package.json
npm init -y effect: rapid generation
npm i express --save: action: package-lock json generated