Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do we need NodeJs for running react app on server? [closed]

I have .net Core 2.2 project work with react,

I'm about to finish the project, I have a question I was wondering before I published.

Do I need to have NodeJs installed on the server for React to work?

Thanks.

like image 559
Avoraa Avatar asked Jan 22 '26 10:01

Avoraa


1 Answers

If you build the React project, you will end up with build directory with static html, css and js files. If you put these into htdocs directory or whatever directory (based on server which are you using, probably Apache or Nginx), it will serve it without any additional things like Node, etc

like image 198
Dominik Matis Avatar answered Jan 24 '26 01:01

Dominik Matis