All documentation
React

React SPA

A single-page React app that Vite builds into static files. It is for interactive browser-side interfaces; this template does not include a backend.

  1. 1

    Sign up on Deployka

    If you don't have an account yet — create one in 30 seconds: email and password.

    Create an account →
  2. 2

    Deploy it

    Click the button below — it opens the templates page with this template already selected. If it needs variables, paste the values from the step above and click Deploy.

    Deploy "React SPA"

    Deploy usually takes 20–40 seconds. The project status appears in your dashboard and switches to "running" once it's ready.

  3. 3

    Check that it works

    Open the project URL and check the interface. If the app uses client-side routing, open a nested route directly and refresh it: Deployka configures nginx to serve index.html for these URLs.

    1. The project root should contain package.json with a Vite build script, vite.config.js, and index.html.
    2. Make sure the production build creates a dist directory. Deployka serves that directory through nginx.
    3. Check the home page and a nested route by opening it directly and refreshing.

    Frontend code and values bundled into it are visible to site visitors. Do not put secret API keys, passwords, or private tokens in a client app; keep them on a backend.

  4. 4

    Something not working?

    Open the project page in your dashboard → Logs tab — it shows the exact reason (wrong token, code error, missing variable). Still stuck? Contact support right from your dashboard, or via the Telegram bot with /support.

Looking for another template? See the full list in the docs.