DYDeepanshu Yadavinwebdev18.hashnode.dev·5d ago · 11 min readnull and Missing Look the Same in MongoDB — Until Your Queries Disagree// Clearing the token after a successful email-verification user.emailVerificationToken= undefined; await user.save(); At first glance it looks harmless? That is what I thought at first, when I used00
DYDeepanshu Yadavinwebdev18.hashnode.dev·Jul 27 · 7 min readRequiring a Capital Letter and a Number Doesn't Make Passwords Safer (NIST Agrees)Password1! passes almost every signup form on the internet.correct horse battery staple gets rejected by most of them.The second one is dramatically harder to crack. So why are we still enforcing rule21H
DYDeepanshu Yadavinjavascripttopics.hashnode.dev·May 8 · 4 min readJWT Authentication in Node.js: The Digital PassportIn the landscape of modern web development, security isn't just a feature—it's the foundation. Whether you are building a simple "Hello World" server or a complex SaaS application, you need a way to v00
DYDeepanshu Yadavinjavascripttopics.hashnode.dev·May 8 · 6 min readCreating Routes and Handling Requests with ExpressWhen developers first start backend development with Node.js, one of the first painful realizations is this: Building servers with raw Node.js is verbose. You can absolutely create backend servers usi00
DYDeepanshu Yadavinjavascripttopics.hashnode.dev·May 8 · 5 min readWhat is Node.js? JavaScript on the Server ExplainedToday, JavaScript is everywhere. You can use it for: frontend websites backend APIs mobile apps desktop apps real-time systems even AI tools But originally, JavaScript was never meant for backend deve00