DEV Community

Discussion on: β›΄ Deploy React Apps In Production Pretty Easily 😎

Collapse
 
sudarshansb143 profile image
sudarshan

You got that !

Because, we are serving the react build folder as the static asset of our nodejs backend πŸ˜ƒ

Collapse
 
radkriss profile image
radkriss

Thanks for the clarification, Sudarshan.

One query which has been in my mind for a long time is => "Why do we need a Nodejs server? If my React app is connecting to an external api (Java for eg) can't we have just the React front end ?"

Thread Thread
 
sudarshansb143 profile image
sudarshan

it's absolutely fine !

You can use node.js, django, spring / struts, rails or anything. But, you have to find a way to serve assets using that specific framework or technology