Apr 22, 2025 · 4 min read · Pre-requisites: 🟢 Node.js & Express.js ~ Backend Dev. 🔐 JSON Web Token (JWT) 🗂️ Database Models – especially MongoDB Imagine this scenario... A user registers on an application—let’s say, Instagram 📸. Their details like full name, email, an...
Join discussion
Oct 26, 2024 · 5 min read · This blog is inspired by a conversation I had with ChatGPT while grappling with the concept of asyncHandler from the backend series by Hitesh Choudhary. As I faced challenges in understanding this important aspect of error handling in asynchronous pr...
Join discussionSep 29, 2024 · 2 min read · The access token and refresh token and most commonly used technique for authentication. So let discuss more about this What is access token ? Access Tokens are short-lived tokens used to authenticate users. When a user logs into a web page, we set th...
SSahidur commentedJul 22, 2024 · 2 min read · First of all a big shoutout to Hitesh Choudhary sir for his amazing series chai aur backend. I have learned a lot from it the level and the quality of the content is something else you will not find production grade content like this anywhere else. P...
Join discussionApr 3, 2024 · 3 min read · Since last few days, I have been feeling this urge to dive into the depths of back-end web development, however the problem being not understanding where to start from and what topics that needs to be studied and understood. After hours and hours of ...
Join discussion
Mar 8, 2024 · 5 min read · The concept of aggregation pipelines in MongoDB is considered one of the complex topics in MongoDB databases. Therefore, it is often found in SDE II or above job roles and rarely for SDE I. In this concept, we generally consider that aggregation pip...
Join discussion
Mar 8, 2024 · 2 min read · What is access token? Access token is basically used to verify user if user is logged in or not. this simply stores a string, which contains info which user passed in it like email, username, etc. Access token has a smaller life span. now small means...
Join discussionJan 28, 2024 · 3 min read · Let me explain it in simple language: Imagine you have a secret club, and you want only members to enter. To control access, you give each member a special badge (like an access token). Now, when someone wants to enter the club, they need to show the...
Join discussionJan 20, 2024 · 4 min read · Introduction In the ever-changing world of web development, authentication is a critical component for protecting sensitive information and guaranteeing secure interactions between users and apps. As online systems become more complex, the necessity ...
Join discussion