DEV Community

Discussion on: Deploy / Host your React App with cPanel in Under 5 Minutes

Collapse
 
yudazvi profile image
yudazvi

can you explain more about "You don't need Node on your remote server"?
can i build an app with mySql + node + react - run build, and deploy the app on c-panel, or the c-panel deploy only react apps with static data, not apps that use database?

and i`m not talking about a vps hosting, but a regular shared hosting.

Collapse
 
nerdbachu profile image
Waseem Aslam

What he answered and you had asked are not the same.

He just pointed out that in a React App, we need to compile the files using node to generate build files inorder to work in production.

Generally in VPS or private cloud the build process is took place in server where we explicitly have node installed. He intends to tell that you can build your React App in your local machine and just copy the build files to the production.
Hope I cleared your first doubt.