How to deploy the project on the server after creact-react-app development, the key is how to deploy express.

the project is built with react scaffolding. The data is obtained from the backend service built by express-generator
packaged file directory:

srcservice:

homepage:"."is added to package.json. The index.html page can be directly run in build, but no data can be obtained.

now to deploy to the server, the apache tomcat, used asks how to obtain the data and how to deploy the express on the server. You can use anything else without apache tomcat. Ask for advice.

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-1b3bd86-2bb12.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-1b3bd86-2bb12.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?