Please follow these steps to run the project

npm install
make file with the name .env.development (similar to .env.sample)
start mongodb service from terminal using the command:(you should have mongodb installed in your system)
sudo systemctl start mongod
npm start

Import twitter clone postman collection attached with this project to Postman

What I am using and why?

I have mocked the chat feature due to limited time but socket.io could have been used for real time chat service
I used json web tokens for authentication since APIs are stateless
For authentication, we need to send private token from every API call in header
I have done all the possible error handling so that the server won't break under any scenario