Stack detection
Deployxa reads your repository and picks the runtime, build and start commands. Override any of them in project settings.
Deploy a React single-page app built with Vite as static files over HTTPS, with SPA routing fallbacks so deep links resolve.
01 / Quickstart
Install the CLI and deploy the React (Vite) project in your current directory, or connect the repository in the console for push-to-deploy.
$ npm install -g @deployxa/cli$ deployxa login$ deployxa deploy
02 / Guide
Deployxa finds the Vite config and installs dependencies from your lockfile.
vite build produces the static bundle in dist/.
Files are served over HTTPS with a fallback to index.html for client-side routes.
03 / Configuration
Set these in project settings. Values are never written to build logs.
| Variable | Purpose | Example |
|---|---|---|
VITE_API_URL | Backend endpoint baked in at build time | https://api.example.com |
04 / Included
Deployxa reads your repository and picks the runtime, build and start commands. Override any of them in project settings.
Every push builds in its own sandbox with cached dependencies and layers.
Attach PostgreSQL, MySQL or Redis and the connection details are injected as environment variables.
Every deploy gets a deployxa.online URL with a Let's Encrypt certificate; custom domains too.
Traffic only switches to a release that passes its health check, and earlier releases stay available for rollback.
Connect GitHub, GitLab or Bitbucket and each push to your branch ships a new release.
05 / FAQ
Yes. Unknown paths fall back to index.html, so client-side routes load directly instead of returning 404.
At build time. Change one and redeploy to bake the new value into the bundle.
Ready when you are
Connect a repository and get a live HTTPS URL.