In Backend:
- npm init
- npm i express
- node index.js
- npm i nodemon
- change in script in package.json
- "start" => "nodemon index.js"
- now npm start in terminal
++++++++++++++++++++++++ in mongodb cmd:
- show dbs (for checking is db connected or not)
- quit() to quit
=======================
- Something in between (which is like a filter)
- BodyParser famous middleware (It parse the request body, to handle request which comes from front-side)
- CookieParser header and populate cookie to set cookie or check cookie
- cors => cross origin resource sharing => outside domain then use it
================== express-validator => for validating like middleware jsonwebtoken => for authentication express-jwt
================ formidable package for multipart