Help Needed Please! ERR_CONNECTION_REFUSED REACT App issue when deploying heroku

when i check the heroku logs --tail thats what i see on the app page itself i see this

when i npm run server my app can suddenly read all the data from mongoDB

image is my repository any help would be great! been stuck on this for too long T.T