-
Notifications
You must be signed in to change notification settings - Fork 0
/
Notes.txt
46 lines (34 loc) · 1.11 KB
/
Notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
https://youtu.be/mIW_8dMQaUk
Commands List
1. To int your project or Application
npm init or npm init -y
npm -> Node Package Manager
Backend Packages Install
--------------------------
npm install express --save --no-audit -> MVC Structer provide (routes)
npm install mongoose --save --no-audit -> MongoDb Database access
npm install express-validator --save --no-audit -> Validator or error handling
npm install bcryptjs --save --no-audit -> Password Encryptions
npm install jsonwebtoken --save --no-audit -> API Authentication
npm install multer --save --no-audit -> FILE Upload or Filteration
npm install cors --save --no-audit -> Two Deployee diiffenet server then solve erros
npm install --global nodemon --save --no-audit
mongodb://localhost:27017
Table -> Collection
1 record -> 1 Document OR 3 record -> 3 Document
API:
localhost:4000/api/category/create
Basics Folders
config
routes
middleware
controllers
services
{
key: value
}
Methods:-
POST -> CREATE or INSERT
GET -> DATA RETRIVE
PUT OR PATCH -> DATA UPDATE
DELETE -> DATA DELETE