- Server operating system version
- AlmaLinus 8.7
- Plesk version and microupdate number
- Plesk Obsidian Web Admin Edition Version 18.0.49 Update #2
I posted a reply to the thread How to run React JS frontend, Node JS backend in Plesk?. The thread title asks the exact question I need an answer to. Mine was the first reply and no one's responded. I see now that that thread is in the General Discussion forum, so I'm posting the question again in this more appropriate forum, Plesk Obsidian for Linux.
I'm trying to run nodejs as a backend and reactjs as a frontend. Setting up the nodejs portion was straightforward because Plesk supports nodejs. But I'm struggling with reactjs. What I did was this in the httpdocs directory:
yarn create react-app client
yarn start
This caused the default browser on the server to open with a window on the ReactJS app using localhost:3000, but I need ReactJS to be the frontend and nodejs the backend. I need it be able to open a ReactJS app using the domain name and port 443 (https). Is this possible?
I'm trying to run nodejs as a backend and reactjs as a frontend. Setting up the nodejs portion was straightforward because Plesk supports nodejs. But I'm struggling with reactjs. What I did was this in the httpdocs directory:
yarn create react-app client
yarn start
This caused the default browser on the server to open with a window on the ReactJS app using localhost:3000, but I need ReactJS to be the frontend and nodejs the backend. I need it be able to open a ReactJS app using the domain name and port 443 (https). Is this possible?