On the Joint Development of react and node

problem description

react uses create-react-app to build the environment
node intends to use the Express framework

Q: want to know how to structure the project if you use node to develop the backend?
Q: do you want to open two services if you run it? -yarn start, node XXX.js

Project structure (create-react-app)

I hope that some passing bosses can help solve the doubts. I am very grateful to QAQ


Development requires two services, a back-end and a front-end test environment

in the real online environment, only the back-end service is needed, because you put the packaged page in the backend service and access it directly

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3653f-2b781.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3653f-2b781.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?