Http MethodIt contains many methods. GET POST PATCH PUT DELETE --> GET Method:- When we send a request to the server, this is a GET method. Suppose you want to search live match score go to the url of the web browser and search cricbuzz then the request ...Oct 13, 2023 · 2 min readmongoose.hashnode.dev
Uniform Resource LocatorUrl stands for uniform resource locator. https://www.youtube.com/watch?v=Nt-AsZh5woE&list=PLinedj3B30sDby4Al-i13hQJGQoRQDfPo&index=8&ab_channel=PiyushGarg URL contains a protocol, domain, path, string, and query parameters, https://, this is a protoc...Oct 13, 2023 · 1 min readmongoose.hashnode.dev
File System In Nodejscreate the file and add text inside it When we use the file system first we import the file system from the inbuilt fs modules. const sunny = require("fs"); fs is an inbuilt module in the file system. If you want to create a file and add some text i...Oct 12, 2023 · 3 min readmongoose.hashnode.dev
ModulesFirst, we create a javascript file like index.js after that install the package.json file by using the npm init command in the terminal. After, executing the npm init command a file will appear in front of your dashboard. like this:- { "name": "mod...Oct 12, 2023 · 2 min readmongoose.hashnode.dev
Spread OperatorSpread means spreading or expanding. And the spread operator in JavaScript is denoted by three dots. This spread operator has many different uses. Let's see them one by one. Let's say we have two arrays and we want to merge them. let array1 = [1, 2, ...Oct 6, 2023 · 3 min readmongoose.hashnode.dev