简体   繁体   中英

Deploying nodejs application to Heroku

I am uploading nodeJs files on Heroku and after typing git commands, i get the link of my app but when, i am opening my app the i am getting application error - H20 and H10. https://i.stack.imgur.com/mRj9T.jpg

Here is link of my project https://log-app-nodejs.herokuapp.com/ Please help me i tried a lot but i am not able to deploy my app to Heroku.

I am assuming that you're trying to deploy the backend of an application. In that case, this error does not necessarily means that your backend application is not up and running. It just has nothing to show you. Try making an API call to a function you may have created to insert/delete/ update data, through the URL provided to you.(You can do this through postman etc. or your frontend make sure you send the request to the URL, and not local host). If there is a change in your database, then your node.js application has been successfully deployed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM