π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.