๐Day64
Why express.json exist even though JSON.parse already does the job
Internally express.json uses JSON.parse
key difference is data from client arrive as a stream not as complete object
JSON.parse needs entire JSON at once
express.json reads data in chunks
@rohit_negi9
๐Day62 #WebDevelopment
JSON is same as JS Obj?
JS objects are language specific
JSON is a language agnostic string format, so any backend can understand it.
JS Object โ JSON.stringify() โ string โ binary โ server
Server โ express.json() โ JS Object
@rohit_negi9
Middleware
Middleware sits between request and response:
Centralised logging (debugging, audits, analytics)
Authentication
Eliminates repeated code across routes
Auth concepts
Authentication โ Who are you?
Authorisation โ What are you allowed to do?
๐ Day 61 #WebDevelopment
Frontend talks to backend using CRUD
POST โ create
GET โ read
PATCH โ update specific fields
PUT โ update entire resource
DELETE โ remove
โข Postman = fastest way to test APIs before frontend exists.
@rohit_negi9#LearningInPublic
Day 59 #WebDev
In browsers, Web APIs fill the gap.
In Node.js? libuv does
Libuv (C library) gives:
โข timers (setTimeout)
โข network calls
โข file & DB access
Those โglobal APIsโ are just wrappers.
The real work happens in libuv, which talks directly to the OS.
@rohit_negi9
Just watched video on Neural Networks & Deep Learning
The way weights, bias, loss, and impact based weight updates is explained using simple intuition is ๐ฅ
Huge respect to @rohit_negi9 for teaching fundamentals the right way ๐๐
video link : https://t.co/4zvuqLsqgF
Content like this lowers the barrier for newcomers and builds real understanding, not buzzwords
Also bhaiya is going to cover deep learning in GenAI course, itโs genuinely worth checking out.