Sep 28, 2025 · 2 min read · Hey everyone! Ever wondered how Node.js became the powerhouse it is today? It's a fascinating story of innovation, community, and even a little bit of drama. Let's dive into the history of Node.js in 60 seconds! 2009: The Beginning 🚀 It all started...
Join discussionMay 25, 2025 · 7 min read · In JavaScript, everything is an object, from Arrays to strings, including functions, which are called specialized objects. JavaScript follows a prototype-based system that allows objects to inherit properties from one another with the help of prototy...
Join discussion
Jan 28, 2025 · 4 min read · "Data sanitization in MongoDB" refers to the process of defining rules within your MongoDB schema to clean and filter user input data before storing it in the database, preventing potential malicious code or invalid data from being inserted mostly P...
Join discussionJan 28, 2025 · 6 min read · In part 16:- creating a server we have created “devTinder“ folder now starting from there in the same folder. 1 const express = require("express"); 2 const app = express(); 3 const port = 3000; 4 app.use("/", (req, res) => { 5 r...
Join discussionJan 28, 2025 · 4 min read · password which is stored in database must not be in plain text for security purpose it must be stored in hashed or encrypted format signup API is used to register users to database app.post("/signup", async (req, res) => { const user = new Use...
Join discussionJan 28, 2025 · 6 min read · in the context of mongoDB and express, an API(application programming interface) refer to set of end point that allow external application to interact with MongoDB database through HTTP request. in part 19 we have seen how to create a post api to sa...
Join discussionJan 28, 2025 · 6 min read · First of all create a cluster(collection of databases) on mongoDB Atlas and connect it to mongoDB compass at your computer by following these steps:- 1. Create a Cluster on MongoDB Atlas Step 1: Sign up/Log in Go to the MongoDB Atlas website. Sign...
Join discussionJan 27, 2025 · 14 min read · Note:- from now onwards to test different API routes i will be using postman What happen if we send empty request handler like this:- const express = require("express"); const app = express(); const port = 3000; app.get("/user", (req, res) =...
Join discussionJan 25, 2025 · 3 min read · Let’s write some code Install Node.js, it includes ‘npm‘ which allow to manage and install packages for js project. After installation verify that node js and npm are installed correctly by running the following command on your terminal :- “node ...
Join discussion