Deploy React in minutes

Darmi Cloud builds your React app (Vite or Create React App) and serves the optimized static output over a fast HTTPS subdomain. Connect GitHub once and every push ships automatically.

Deploy from GitHub Automatic HTTPS subdomain Live build & runtime logs
Step by step

How to deploy React

Darmi Cloud has a dedicated React / Vite preset, so there is no configuration to write.

  1. 1

    Sign in with GitHub

    Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.

  2. 2

    Import your repository

    Click New Project, pick your React repository, and choose the branch to deploy — the default branch is preselected.

  3. 3

    Select the React / Vite preset

    Choose the React / Vite preset. The commands are prefilled (build: npm run build, start: (served statically by nginx)) — adjust them only if your project differs.

  4. 4

    Add environment variables

    Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.

  5. 5

    Deploy and watch it go live

    Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.

Preset defaults

Preset
React / Vite
Container port
80
Build command
npm run build
Start command
(served statically by nginx)

Tips for React on Darmi Cloud

  • Works with both Vite (output: dist) and Create React App (output: build) — the preset detects the common cases.
  • Prefix client-exposed env vars with VITE_ (Vite) or REACT_APP_ (CRA) so they are inlined at build time.
  • For a React app that also needs an API, deploy the backend as a separate Node project and point the frontend at its subdomain.
FAQ

React deployment FAQ

Does Darmi Cloud support Vite and Create React App?

Yes. The React / Vite preset builds with npm run build and serves the static output (dist for Vite, build for CRA) via nginx over HTTPS.

How do I add environment variables to a React build?

Add them in the project settings. Remember client-side variables must be prefixed with VITE_ or REACT_APP_ to be included in the bundle at build time.

Can I use my own custom domain?

Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.

Is there a free plan?

Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.

Deploy other frameworks

Ready to deploy your React app?

Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.

Deploy React now