Connecting backend to frontend from different Ide

Hey folks, while the simplest solution is to work on your FE and BE in one workspace, we did just launch the ability to make some of your ports publicly accessible, which is another way to do this.

  1. Open the “Project IDX” panel in the left (you can use the “Focus on Project IDX View” command from the command palette)
  2. Expand the “Backend Ports” section at the bottom
  3. Find your backend’s port # (e.g. 8080)
  4. Click the little lock icon:
    image
  5. Take note of the disclaimer (that anyone with the URL will have access to your server on that port) and press “Switch to Public”. Once it’s public, it should look like this:
  6. You can then click the copy icon in the same row as the port # to grab the publicly accessible URL for your running server, and use that in your FE.
4 Likes