Self-hosting
Prefer to run your project on your own infrastructure? Export it and host it anywhere that serves a web app.
Build & serve
Export the project, install dependencies, and build it like any Vite app. Serve the output as static files, or run the included server if your project uses backend bricks.
Backend & databases
If your project serves its own data (backend bricks), set the documented environment variables (database connection strings, API keys) on your platform. Drivers are available for Postgres (Node), an HTTP SQL endpoint (edge), and Cloudflare D1.
Hosting options
- Static hosts / CDNs — for front-end-only projects.
- Serverless platforms — Cloudflare, Vercel, Netlify (also the one-click targets), or your own functions.
- A persistent server — when you want the live collaboration runtime.
The one-click deploy does this for you on Cloudflare/Vercel/Netlify. Self-hosting is for when you want full control.