I’m currently developing a react/node.js app, it uses Axios to send data back and forth, in the package.json
of the react app it has the proxy set as the node.js server "proxy": "http://localhost:8000"
. Until now I was hosting the app on localhost to develop it slowly and I needed to use 2 port for it to work. What services would you recommend to for dual hosting and communication between the node server and the react app (preferably free) or any alternative ways for my app to function.
I’ve tried Heroku but don’t really like it (takes down my site after inactivity and sometimes deletes it without warning), as well as Vercel but couldn’t get it to work. Open to suggestions I do own a domain if that is relevant.
Qwazy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.