-npm i -D nodemon=To referesh server on every save and also added "dev": "nodemon src/index.js" in scripts
-.gitkeep file added to push empty folder to git
-added "type": "module", in scripts, to import using module import instead of normal js import
-npm i -D prettier, created .prettierrc and .prettierignore and added specifications in it
-connect mongodb, go to google, search mongodb atlas
-npm i dotenv mongoose express
-
Added MONGODB_URI in .env from mongodb Atlas>Database>connect>Compass
-
Added "dev": "nodemon -r dotenv/config --experimental-json-modules src/index.js" in scripts in package.json, to import dotenv from "dotenv" instead of require
-
npm i cookie-parser cors, installed middleware and cors
-models created
-installed package, npm i mongoose-aggregate-paginate-v2, for to write aggregation queries
-installed package, npm i bcrypt, it helps you to hash your password
-installed package, npm i jsonwebtoken
-installed clodinary package, npm install cloudinary
-installed multer package, npm install multer, it is use for file upload