• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Set up ReactJS app with a NodeJS/Express backend

Mr. Tweet

New Pleskian
Hello,

I'm trying to figure out how to properly set up a react app that is using a node/express backend. I already have the nodejs extension downloaded and install from Plesk. I've created my domain and connected Plesk with my Git repo. I've pulled all my files from my repo to the /httpdocs directory and set up the nodejs extension settings. Now what? The question I have is, am I able to run both the backend nodejs and the front react app on the same domain from the same directory? On my local machine, I have both the nodejs backend (backend directory) and the react frontend files located in the same directory (see screenshot). To get the app to work, in my terminal I start the nodejs backend on port 5000, and on another terminal, I start the react frontend on port 3000. How do I do that on Plesk? How do I set up the backend and the frontend in Plesk and have them communicate with each other?
 

Attachments

  • Screen Shot 2020-07-29 at 8.51.58 PM.png
    Screen Shot 2020-07-29 at 8.51.58 PM.png
    64.5 KB · Views: 20
Back
Top