Deploy SvelteKit on Deployxa.

Deploy SvelteKit full-stack applications with @sveltejs/adapter-node, streaming SSR, and edge SSL.

All frameworks

01 / Quickstart

Deploy from your terminal.

Install the CLI and deploy the SvelteKit project in your current directory, or connect the repository in the console for push-to-deploy.

  • Typical database: PostgreSQL or SQLite
  • Build and start commands can be overridden
  • Secrets stay out of build logs
deploy · sveltekit
$ npm install -g @deployxa/cli$ deployxa login$ deployxa deploy

02 / Guide

How SvelteKit goes to production.

  1. 01 /

    Configure adapter-node

    Ensure @sveltejs/adapter-node is set in svelte.config.js.

  2. 02 /

    Connect repository

    Deployxa installs dependencies and compiles the standalone build directory.

  3. 03 /

    Attach secrets

    Secrets injected in dashboard are accessible via $env/static/private.

  4. 04 /

    Promote

    Health-checked and live on HTTPS within seconds.

03 / Configuration

Environment variables.

Set these in project settings. Values are never written to build logs.

Recommended environment variables for SvelteKit
VariablePurposeExample
NODE_ENVRuntime modeproduction
ORIGINCanonical URL used for CSRF verificationhttps://my-app.deployxa.online
DATABASE_URLConnection string for database clientpostgresql://...

04 / Included

What every deploy gets.

  • Stack detection

    Deployxa reads your repository and picks the runtime, build and start commands. Override any of them in project settings.

  • Isolated builds

    Every push builds in its own sandbox with cached dependencies and layers.

  • Managed databases

    Attach PostgreSQL, MySQL or Redis and the connection details are injected as environment variables.

  • HTTPS by default

    Every deploy gets a deployxa.online URL with a Let's Encrypt certificate; custom domains too.

  • Health-checked releases

    Traffic only switches to a release that passes its health check, and earlier releases stay available for rollback.

  • Push to deploy

    Connect GitHub, GitLab or Bitbucket and each push to your branch ships a new release.

05 / FAQ

SvelteKit questions.

Which adapter should I use?

Use @sveltejs/adapter-node for full SSR and server load functions.

How are cookies and form actions handled?

Standard SvelteKit form actions and HttpOnly cookies work seamlessly.

Ready when you are

Ship your SvelteKit app.

Connect a repository and get a live HTTPS URL.

See pricing