// Query-Params:
// ============
// Query-Params, just like path-params, are used
// to pass parameters in path of the url.
// But, Query_Params are specified after symbol "?"
// and base URL in the path of the complete URL.
// See in below file on how we can use and work with them,
index.js
// Extras:
// =======
// Right now, whenever we make changes in index.js, we
// need to restart the server everytime to see the changes
// at localhost. So, to overcome this, we can install nodemon.
npm i nodemon
// now, in package.json file, make the below changes in scripts key:
"scripts": {
"start": "nodemon ./index.js"
}
// now, in place of "node index.js" to run the server,
// you will need to run "npm start" in terminal to
// run the server at localhost.
// and now we can just make the changes in our files
// and we won't need to worry about running the server
// everytime we make some change in any file in the
// project directory.