-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnote.txt
More file actions
12 lines (12 loc) · 804 Bytes
/
note.txt
File metadata and controls
12 lines (12 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
first we will npm init => create a package.json file
=> git init => Add file => commit
=> .gitignore file
=> create public folder & src folder src
=> use type module in projects => "type" : "module"
=> Nodemon as the file save or change it restart the server => install nodemon
=> devDependency use during the development not in production only use in development
=> package.json => script => "div" : "nodemon path of file which will be reload" "div" : "nodemon src/index.js"
=> use Git Bash for better and easy to use
=> use Prettier => install it => use for better teamwork
+++++++++++++++++++++++++++++++++++++++++++++++++++++
=> Install mongodb , express , dotenv ==> will help load env file that contain mostly envirment variable it make code clear easy can change env without touching the code