To test the api
- clone the repository to local storage
- run npm install
- run npm install --save-dev
- connect to mongodb server
- run npm start
- Login through a dummy email and password
- login 2 3 more emails to follow and get following
- after login you will get a access token
- copy the token and paste in headers section of postman or paste in task.js file
- accessToke = token
- take a post id where a post id is required
- for delete post only take id of post which belongs to that user