few fixes added: checking read json for empty and added cd before running node server.js
changing install location to /var/www
fixing nginx configuration.
added default mongodb url value.
fixing linting