Question

Can I hook this static app to call an api hosted in a paid tier?

Posted June 18, 2021 138 views
DeploymentDevelopmentJavaScriptReactDigitalOcean App Platform

Can I deploy a React app that talks to a backend api to the free tier plan? The backend will be hosted on a paid tier.

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.

×
Submit an Answer
1 answer

Hi there,

Actually, if you have a paid application already and you wanted to add a static website to it, it will not add any additional costs. So there is not need to deploy two separate applications.

Here is a very good video demo on how to do that:

https://youtu.be/1T3d7P_V2t4?t=496

Note that this is with a Laravel backend but the setup would be quite similar.

Hope that this helps!
Regards,
Bobby