Why don't you just make a .env file with PORT=3000 in it? I think hardcoding this to 3000 will break when it gets pushed to heroku.