Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
262 views
in Technique[技术] by (71.8m points)

reactjs - React navbar with express backend

Video demonstration link: https://youtu.be/bErDjmGNTb8

After trying to follow different guides to have a "react frontend and express backend" I've still been unable to connect these two projects that at one time were separate. I'm ok with having to rebuild everything. I've included a link above to a recording of how i'ld like the finished project to appear. When i click on 'Landing' i want to be able to navigate to the yelp clone and maintain all the CRUD functionality it has when it's it own separate app but still use the React Nav bar to return to the separate components.

How do I get this projects to work together and display to the same host port if i need to have two different ports for each one to work? I'm aware of putting "proxy":"http://localhost:5000", in my package.json but haven't been able to make it work.

question from:https://stackoverflow.com/questions/65892190/react-navbar-with-express-backend

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...