This tutorial is meant to make it easy for anyone who is hosting a nodejs application that uses the mongoDB database. If you have already checked o...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
Hi Samson,
I'm getting some issue with the backend and the configuration of Heroku, which I can't figure out what's going on.
On the localhost testing, everything works fine.
Any clue?
Hi Tiago,
Please check if your configurations are correct. It could be because the database isn't connected.
I've followed your instructions step by step, and have check and re-check it.
Would be too much to ask one "eyes-on" from your side and maybe you spot something I haven't?
If you wish, I can send the heroku credentials to you. by email, I guess?
By chance did you find a solution and would mind sharing? I'm stuck on the same step, somehow the database is not properly connected, but followed every step on tutorial.
Sorry I haven't. Kinda opted out for another solution...
Hello Njoku,
Correct me if I'm wrong, but I believe the link on step one "Clone the project here" directs to the server-tutorial repo on Github when it should direct to the auth-backend repo.
The auth-backend repo is the Node.js server that has correct db setup for MongoDB
I happened to find out by browsing your repos on Github.
Correct link is: github.com/EBEREGIT/auth-backend/b...
Thank you for that observation. You are really detailed 😊
I am still getting that application error even after creating procfile..Can someone please help me out
Please ensure that your Procfile is pointing to the right file
Yes it is pointing to right file
In that case, I will suggest that you go through your application from the beginning. You may have missed a thing or 2
github.com/igdev116/facebook-clone...
I can't push my server to Heroku. It's always "Application Error"
Can you help me? Thanks a lot!!
Do you have procfile already created at the root directory?
The procfile is meant to direct heroku to the entry point of your application. Without it, Heroku will be confused and throw Application Error
This was very helpful. Thanks
This is good news. I am happy to learn this
That Procfile file save me!!! I love you so much..... Thank you.
Wow... I am happy I could be of help. Welcome
Thank you for reading
Still i m facing these erro plase help me
github.com/Hafizjunaid971/fleet git repo