Question

How to deploy a react native.js mobile app to web with Digital ocean software

Posted September 22, 2021 207 views
DeploymentDevelopmentJavaScriptReactDigitalOcean App Platform

I have successfully created a mobile app with lot of APIs with react Native.js , and I will like to make the app available on the web too.. how do I deploy the mobile to the web with Digital ocean software?..thanks in advance

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

Hey there!

You have a couple of options to host that on DigitalOcean. If your are looking for the most flexible option I would recommend using a Droplet to host that application. Droplets are VM’s you can fully configure and setup with the software you require. Droplet

If you are looking for a more managed solution, DigitalOcean’s App Platform offers easy application hosting for React. App Platform React

Hope that helps!
Nate

by Joe Morgan
In this tutorial, you'll deploy a React application from your local machine to an Ubuntu 20.04 server running Nginx. You'll build an application using Create React App, use an Nginx config file to determine where to deploy files, and securely copy the build directory and its contents to the server. By the end of this tutorial, you'll be able to build and deploy a React application.