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 ?"
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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You got that !
Because, we are serving the react build folder as the static asset of our nodejs backend π
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 ?"
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