rockiger / reactpress

Plugin that lets you easily create, build and deploy React apps into your existing WordPress sites.
https://rockiger.com/en/reactpress/
GNU General Public License v2.0
51 stars 7 forks source link

WordPress and React Application on Separate Servers #19

Open rockiger opened 2 years ago

rockiger commented 2 years ago

I have ReactPress working, now I would like to use separate servers: one for WordPress and the other for my react application, that I can seperate concerns.

ldwrs commented 11 months ago

Can you explain what you mean? I'm a bit confused... Wordpress is backend, react is frontend. So you don't need a server for the react application at all. The code just needs to be embedded in WP. Maybe you're thinking of a build pipeline that publishes the javascript files to the wordpress server?

Or do you want to have a second backend besides WP? I think there is nothing blocking you from doing this already on a separate server, as long as it is accessible by your React code...