Question

How to get a React repo to use the Starter App Plan

It seems this is a needed Question again. The top Questions on the topic lead to a broken link to an article that used to give suggestions, and a “I figured it out myself, I had Nodejs code in my repo” result.

I would like to use the Starter App Plan to deploy a React project. But when I connect my repo with just a React app in it, the Starter Plan is not an option. (I did create my React app with Vite rather than create-react-app, if that makes a difference.)


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
June 11, 2022

Hi there,

When you initially configure your App, you need to make sure that you set the type to Static Website rather than a web service:

Static site app platform

That way you can choose the starter plan.

For a step-by-step guide on how to do this, you can follow this tutorial here:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-react-application-to-digitalocean-app-platform

Hope that this helps!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up