This is my first attempt at building a full stack application, please help:(. This is my github repo. I'm following this tutorial, but I get a 503 error appearing in the chrome developer tools console when I'm trying to SELECT * FROM todo
. I can read the information in my database table through heroku cli & dataclips but it does not work in the heroku app. This is the link to my heroku app, I think the problem is in db.js or index.js but I don't know how to diagnose the problem.
This appears in my heroku cli:
2022-08-20T03:20:29.059619+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/getall" host=bag2.herokuapp.com request_id=0dad4a29-61b0-487a-857d-53157e5907df fwd="155.69.177.63" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 protocol=https