[x] In catch block of every endpoints, replace res.status(500) with res.status(this.status) and message as this.error
[x] All endpoints path should only have one word, preferably a verb /createMessage -> /message/create. Extra credit : Instead of having create we can also do "message/:id?" . Will need to do more research on this on how it will work with frontend.
[x] Create a postman collection file to test all of the endpoints
[x] Check for code consistency. For example, all catch block should either log out error or not. req.body should be in the try block or not.
[x] At the moment, each endpoint have contain a big block of code. Consider breaking those down into reusable functions, Also need to clean up this (!timestamp || !userId || !roomId || !message)
[x] Clean up comments
[x] Add documentation to code or just create a readme file for the backend folder