It was a problem with owner and group of my project folder. I have followed steps as in this article (First Express App part) and everything works fine now.

Express.js public folder content only available when logged in
I want to add data to multiple tables using a single INSERT INTO query, can I do this?

Please guide me and provide me syntax if this is possible.
