DEV Community

Discussion on: Combine React js with Node Js ?

Collapse
 
kamalhossain profile image
Kamal Hossain

Hey there, did you created the nodejs and react part separately?

Collapse
 
nardjes profile image
NardjesBen

Yes, i do that

Collapse
 
kamalhossain profile image
Kamal Hossain

Create two route at nodejs ,

One GET route for download , another POST route for upload the files from frontend.
Use "axios" at frontend to consume those API or endpoints.

Thread Thread
 
nardjes profile image
NardjesBen

thank you for your answer it will help me

Thread Thread
 
icecoffee profile image
Atulit Anand

But you do need to configure web pack right. Or is there any boiler plate you know of.

Thread Thread
 
nardjes profile image
NardjesBen

No, I'm just a new and I don't know where to start

Thread Thread
 
icecoffee profile image
Atulit Anand

Ditto my friend this question have been on my mind since forever.