Hello guys, i’m facing some problems during my deploy on digitalocean app platform.
i’ve created a react app wich contains a server folder, so i’ve configured the app like so:
env variables for url: REACT_APP_SERVER_BASE_URL is equal to ${APP_URL}
i can see clearly the frontend, but the app doesnt work, he can’t make api requests to the BE (i see raw html if i hit the login endpoint)
i’m not an expert but i really need your help
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
What you could do is to separate your frontend application and the Node.js backend application into different App components.
Here is a quick video that shows how you could do that:
Hope that this helps!
Best,
Bobby