I have created a web application and have been going through the process of deploying it on Heroku.
The application works fine locally.
Below is the server cod