Node.js (Express) + React on Cloud9

express
reactjs
nodejs

#1

In order to get Express app to serve API requests from a client React app it has to listen to a different port than 8080.

express-app.js:

const port = process.env.PORT || 5000;
app.listen(port);

client-react-app/package.json:

“proxy”: “http://localhost:5000

Works well on Heroku. Any chance this trick could be done on c9?