I finally got my URL shortener working in Cloud9, but now I’m stuck trying to deploy to Heroku. For the previous API projects, I just chose Github as my deployment method and it was super easy.
Now I’ve tried the same approach and when my app launches the page just says “Application error: An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.”
Any suggestions for how to get through this? Does my Mongodb url need to be different from what it was in Cloud9?
Here’s all I’m getting from the logs:
2016-11-20T15:08:39.049274+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=my-urlshortener.herokuapp.com request_id=d2ba1850-c45c-4e00-aa5c-e05dd7e5da9d fwd="22.214.171.124" dyno= connect= service= status=503 bytes=