Application not sending or receiving data from mongodb

I honestly have no idea what the problem with the application is. The application always has a connection timeout when trying to send or receive data. Im using postman and mlab to test and use this application.

If you want to look at the code i have made a stack overflow post about it already (to no success).

At this point it seems like there is an issue with my installation and not the actual code as I am not able to run mongod from a bash terminal and running it from the native terminal seems to be inconsistent.