-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnotes
More file actions
64 lines (36 loc) · 1008 Bytes
/
Copy pathnotes
File metadata and controls
64 lines (36 loc) · 1008 Bytes
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
NodeJs Training
## source code - https://github.com/arvindbasant/nodejs-training
## https://github.com/arvindbasant/lattice
fs or os modules
-- preflight request
Domain Driven Design
-- Design Patterns
Event Driven Architecture
MVC
MVVM
CSV -> Col1 Col2
col1-> userid
col2-> email
col1-> userid
col2-> email
col3-> username -> from email tru
buffer -> 3 & 1/2 -> 3
1/2 + 3.25
Axios -> api call in cross domain
send -> OPTIONS request -> if auth -> 200OK ->
abc.com -> xyz.com(abc.com)
POST -> Axios -> OPTIONS call to check if abc.com is whitelisted
####
crypto module of nodejs
Cipher/Decipher
DiffieHellman/ECDH
HASH - MD5, SHA256 - aragon2, PBKDF2, scrypt, bcrypt
HMAC
Sign/Verify
## cors
https://bigcodenerd.org/enable-cors-node-js-without-express/
https://expressjs.com/en/resources/middleware/cors.html
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/OPTIONS
##
setTimeout(console.log('2'), 0) // Book - You don't know JS -> download pdf
console.log([] + [])