Guides

Deploy a React (Vite) app from GitHub in India

Deploy a React app built with Vite from GitHub — free to start on Voroa. React hosting in India, billed in INR with a GST invoice and UPI when you grow.

This guide shows you how to deploy a React app built with Vite from a GitHub repository to Voroa — building the production bundle and serving it on a live URL. You can start for free, with no server to manage, and Voroa is hosted in India and billed in rupees.

Before you start

  • A GitHub account with your React (Vite) repository.
  • A working build script in package.json (Vite’s default is "build": "vite build", which outputs to dist).
  • A way to serve the built files that listens on process.env.PORT. Voroa sets PORT for you.

Step 1 — Connect GitHub and create a service

From the dashboard, select Connect GitHub and install Voroa on your repository. Then select New service, choose the repository and branch, and name the service.

Step 2 — Set the build command

Voroa builds most apps automatically. If you need to be explicit, set your build command to produce the production bundle:

npm install && npm run build

Step 3 — Serve the production build on PORT

Serve the dist folder with a static file server that honours the platform port. For example, add a dependency on serve and set your start command to:

npx serve -s dist -l $PORT

The -s flag serves your app as a single-page app, so deep links resolve to index.html. See build and start commands for where to set these.

Step 4 — Deploy

Select Deploy. Voroa builds your app, streams the logs, and gives your service a live URL when the build finishes.

Step 5 — Ship on every push

Turn on auto-deploy so every push to your branch rebuilds and rolls out your app. See how to enable auto-deploy.

Free to start, billed in rupees when you grow

You can deploy your React app on Voroa’s free tier and go live without a credit card — a good fit for a side project, a portfolio, or a client demo. When you are ready for an always-on service, a custom domain, or more resources, upgrade to a paid plan billed entirely in rupees. Every payment comes with a GST invoice for input tax credit, you pay by UPI or an Indian card, and your app is hosted in India so it loads fast for your users. See pricing.

Next steps

Last updated July 8, 2026