馃 Understanding Middlewares, Global Catches & Input Validation (with Zod) in Node.js
Imagine visiting a hospital. Before you meet the doctor, you go through multiple checks:
Insurance validation
Blood test
BP check
Only if you pass all of these, you get to meet the doctor.
In the world of web development, your API routes are like t...
sinhaniik.hashnode.dev3 min read